Amend reference in admin_menu.js to point to
Drupal.settings.admin_menu_margin_top
Drupal.settings.admin_menu_tweak_modules
Drupal.settings.admin_menu_tweak_menu
instead of the current
Drupal.settings.admin_menu.margin_top
Drupal.settings.admin_menu.tweak_modules
Drupal.settings.admin_menu.tweak_menu
I assume this is a mistake from different versions of the code being used. For the live 5.x-2.5 the above change needs to be made.
Comments
Comment #1
sunSorry, but I've double-checked all instances of this JS variable in the current code and was not able to find a misnamed one. Could you please elaborate further?
Comment #2
sunWithout further information I'm obliged to mark this as won't fix.
Comment #3
timrutter commentedTested with 6.x-1.0 aswell
Error: Drupal.settings.admin_menu is undefined
Source File: http://ajas.org.au/sites/all/modules/admin_menu/admin_menu.js?4
Line: 5
Is causing all javascript after not to load. e.g. interferes with gmap
Comment #4
jcnventuraIt's not enough to simply change the version, as this was still marked won't fix.
Comment #5
sunYes, but I also need more information, because I cannot replicate this bug.
Comment #6
sunIt may be possible that this bug was not fixed in 6.x-1.0. However, 6.x-1.1 should contain the fix.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #8
marcoBauli commentedJust updated to latest 5-2.7 version on a website that makes extensive use of google maps, and now the message "Javascript is required to view this map" appears in place of any map.. reverting to older version (5-2.6) gets the maps back again.
Drupal 5.13 and GMap module 5.x-1 here, thank you
Comment #9
jcnventuramarcoBauli,
You shouldn't be submitting to this thread for two reasons:
1. It's closed
2. Your problem is only slightly related to the original (both involve Javascript)...
Comment #10
marcoBauli commented@jcnventura: since #3 above calls to gmap module conflicts, my intention was to go bit deeper on this before opening a new issue now available at http://drupal.org/node/363091