mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 15:35:47 +01:00
fixes #622
This commit is contained in:
@@ -82,7 +82,8 @@ define(['uploader'], function(uploader) {
|
|||||||
description: $('#inputDescription').val(),
|
description: $('#inputDescription').val(),
|
||||||
icon: $('#new-category-modal i').val(),
|
icon: $('#new-category-modal i').val(),
|
||||||
bgColor: '#0059b2',
|
bgColor: '#0059b2',
|
||||||
color: '#fff'
|
color: '#fff',
|
||||||
|
order: $('.admin-categories #entry-container').children().length + 1
|
||||||
};
|
};
|
||||||
|
|
||||||
socket.emit('api:admin.categories.create', category, function(err, data) {
|
socket.emit('api:admin.categories.create', category, function(err, data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user