Opened 13 years ago
Closed 13 years ago
#20080 closed enhancement (worksforme)
adminmenu jquery not working when you put jquery in the footer.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.3.1 |
Component: | Menus | Keywords: | reporter-feedback close |
Focuses: | Cc: |
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)
#3
@
13 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.
Note: See
TracTickets for help on using
tickets.
To confirm, are you trying to do this in the admin, or on the frontend?