WordPress.org

Make WordPress Core

Changeset 14332


Ignore:
Timestamp:
05/02/10 18:12:13 (4 years ago)
Author:
nacin
Message:

Fix ajax on add menu item boxes. props koopersmith, see #13204

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/nav-menu.dev.js

    r14293 r14332  
    252252                    panelIdMatch = /#(.*)$/.exec(e.target.href), 
    253253                    tabPanels, 
    254                     wrapper = getParentWrapper(e.target, 'inside'), 
     254                    wrapper = $(e.target).parents('.inside').first()[0], 
    255255                    inputs = wrapper ? wrapper.getElementsByTagName('input') : [], 
    256256                    i = inputs.length; 
Note: See TracChangeset for help on using the changeset viewer.