ability to sort navigation

This commit is contained in:
psychobunny
2015-02-25 15:18:57 -05:00
parent a2e3179ea4
commit a9f175a2bb
2 changed files with 4 additions and 1 deletions

View File

@@ -24,6 +24,9 @@ define('admin/general/navigation', function() {
});
$('#save').on('click', saveNavigation);
$('#enabled').sortable();
$('#enabled').disableSelection();
};
function saveNavigation() {

View File

@@ -15,7 +15,7 @@
helpers.displayMenuItem = function(data, index) {
var item = data.navigation[index],
properites = item.properties;
properties = item.properties;
if (!item.enabled) {
return false;