Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#20080 closed enhancement (worksforme)

adminmenu jquery not working when you put jquery in the footer.

Reported by: theBrettman Owned by:
Priority: normal Milestone:
Component: Menus Version: 3.3.1
Severity: normal Keywords: reporter-feedback close
Cc: Focuses:

Description

maybe someone should set the menus to show on $(document).ready()? the admin bar at the top works just fine but when I put set $in_footer to true for jquery, the adminmenu's on the left don't work. says jQuery is not defined and of course we know this is because the menus initialized before jQuery loaded. plz fix, I want my jquery called in the footer.

Change History (4)

#1 @nacin
14 years ago

To confirm, are you trying to do this in the admin, or on the frontend?

#2 @scribu
14 years ago

  • Keywords reporter-feedback added
  • Type defect (bug)enhancement

#3 @azaozz
14 years ago

  • Keywords close added

Just did a (very) quick test and menus seem to work properly. The menu init is in jQuery(document).ready(). However there are few pages with JS code blocks in the HTML that throw errors.

In any case don't think we can support that in the admin as plugins may be expecting jQuery to be available early/in the header.

#4 @nacin
14 years ago

  • Milestone Awaiting Review
  • Resolutionworksforme
  • Status newclosed
Note: See TracTickets for help on using tickets.