mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 00:45:47 +01:00
fixed category save
This commit is contained in:
@@ -13,8 +13,11 @@ define(['uploader'], function(uploader) {
|
||||
}
|
||||
|
||||
function save() {
|
||||
socket.emit('admin.categories.update', modified_categories);
|
||||
modified_categories = {};
|
||||
if(Object.keys(modified_categories).length) {
|
||||
socket.emit('admin.categories.update', modified_categories);
|
||||
modified_categories = {};
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function select_icon(el) {
|
||||
|
||||
Reference in New Issue
Block a user