mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
closes #3146
This commit is contained in:
@@ -128,7 +128,9 @@ widgets.setArea = function(area, callback) {
|
|||||||
|
|
||||||
widgets.reset = function(callback) {
|
widgets.reset = function(callback) {
|
||||||
var defaultAreas = [
|
var defaultAreas = [
|
||||||
{ name: 'Draft Zone', template: 'global', location: 'drafts' }
|
{ name: 'Draft Zone', template: 'global', location: 'header' },
|
||||||
|
{ name: 'Draft Zone', template: 'global', location: 'footer' },
|
||||||
|
{ name: 'Draft Zone', template: 'global', location: 'sidebar' }
|
||||||
];
|
];
|
||||||
|
|
||||||
plugins.fireHook('filter:widgets.getAreas', defaultAreas, function(err, areas) {
|
plugins.fireHook('filter:widgets.getAreas', defaultAreas, function(err, areas) {
|
||||||
|
|||||||
Reference in New Issue
Block a user