Force menu AYS when a menu item is deleted. props ocean90, see #13525.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-05-27 02:31:23 +00:00
parent 2bd40396a9
commit 4d5114ff86
2 changed files with 2 additions and 1 deletions

View File

@ -790,6 +790,7 @@ var wpNavMenu;
eventOnClickMenuItemDelete : function(clickedEl) {
var itemID = parseInt(clickedEl.id.replace('delete-', ''), 10);
api.removeMenuItem( $('#menu-item-' + itemID) );
api.registerChange();
return false;
},

File diff suppressed because one or more lines are too long