mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 18:26:15 +01:00
use tabs
This commit is contained in:
@@ -23,7 +23,7 @@ module.exports = function(Categories) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
plugins.fireHook('filter:category.update', {category:modifiedFields}, function(err, categoryData) {
|
plugins.fireHook('filter:category.update', {category:modifiedFields}, function(err, categoryData) {
|
||||||
var category = categoryData.category;
|
var category = categoryData.category;
|
||||||
var fields = Object.keys(category);
|
var fields = Object.keys(category);
|
||||||
async.each(fields, function(key, next) {
|
async.each(fields, function(key, next) {
|
||||||
updateCategoryField(cid, key, category[key], next);
|
updateCategoryField(cid, key, category[key], next);
|
||||||
|
|||||||
Reference in New Issue
Block a user