mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 01:45:47 +01:00
button to revert changes in categories admin
This commit is contained in:
@@ -257,6 +257,10 @@ define(['uploader'], function(uploader) {
|
||||
$(this).addClass('hide').hide();
|
||||
});
|
||||
|
||||
$('#revertChanges').on('click', function() {
|
||||
ajaxify.go('admin/categories/active');
|
||||
});
|
||||
|
||||
setupEditTargets();
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user