mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
hide on enter as well
This commit is contained in:
@@ -41,6 +41,7 @@ define('admin/manage/categories', ['vendor/jquery/serializeObject/jquery.ba-seri
|
||||
formData.icon = 'fa-comments';
|
||||
|
||||
Categories.create(formData);
|
||||
modal.modal('hide');
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -51,9 +52,7 @@ define('admin/manage/categories', ['vendor/jquery/serializeObject/jquery.ba-seri
|
||||
save: {
|
||||
label: 'Save',
|
||||
className: 'btn-primary',
|
||||
callback: function() {
|
||||
submit();
|
||||
}
|
||||
callback: submit
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user