Merge pull request #2831 from MegaGM/fix.acp.navigation.delete.btn

Click on "Delete" btn in ACP > General > Navigation causes redirect.
This commit is contained in:
Barış Soner Uşaklı
2015-03-07 11:47:27 -05:00

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() {