Fix ajax on add menu item boxes. props koopersmith, see #13204
git-svn-id: https://develop.svn.wordpress.org/trunk@14332 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
881e9cc8a4
commit
6971e7c9a4
|
@ -251,7 +251,7 @@ var WPNavMenuHandler = function () {
|
|||
var activePanel,
|
||||
panelIdMatch = /#(.*)$/.exec(e.target.href),
|
||||
tabPanels,
|
||||
wrapper = getParentWrapper(e.target, 'inside'),
|
||||
wrapper = $(e.target).parents('.inside').first()[0],
|
||||
inputs = wrapper ? wrapper.getElementsByTagName('input') : [],
|
||||
i = inputs.length;
|
||||
|
||||
|
|
Loading…
Reference in New Issue