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:
Andrew Nacin 2010-05-02 18:12:13 +00:00
parent 881e9cc8a4
commit 6971e7c9a4
1 changed files with 1 additions and 1 deletions

View File

@ -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;