Click on "Delete" btn in ACP > General > Navigation causes redirect.

This commit is contained in:
Mega
2015-03-07 13:17:07 +03:00
parent 3dd337bd34
commit 42eadc72a4

View File

@@ -18,7 +18,7 @@ define('admin/general/navigation', function() {
stop: drop
});
});
$('#enabled')
.on('click', '.delete', remove)
.on('click', '.toggle', toggle)
@@ -75,6 +75,7 @@ define('admin/general/navigation', function() {
function remove() {
$(this).parents('li').remove();
return false;
}
function toggle() {