Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Adminimal module is loading an extra jquery.min.js file (version 1.7.2). I'm already loading jQuery 1.8. Similar issue is posted here: https://www.drupal.org/node/2465471 however this is closed and propose to use a solution posted in JQuery website, which is not so factible.
The proposed solution (patch) is to remove jquery.min.js from the adminimal module, and patch any calls to that particular version in the module.
Comment | File | Size | Author |
---|---|---|---|
#4 | adminimal_admin_menu-duplicated_jquery-2680447-2.patch | 2.58 KB | afsch |
Comments
Comment #2
afschComment #4
afschComment #5
afschComment #7
energee CreditAttribution: energee as a volunteer commentedComment #9
achtonI don't think the commit attributed to this issue is correct: http://cgit.drupalcode.org/adminimal_admin_menu/commit/?id=22bca0a1025be...
It does not contain anything remotely similar to the patch in this issue. @ANDITKO, can you check again what is going on here?
Comment #10
kyletaylored CreditAttribution: kyletaylored at LevelTen Interactive commentedThough pointed out in #9 that the patch here wasn't actually committed in the listed commit, the patch did in fact make it in, but there's still a bug.
The problem is that even though the default should be "don't add jQuery until we need it", you have to first enable a variable to create it, and then disable it to return false. This means that on a fresh install of Adminimal Admin Menu, you will always have jQuery added twice unless you enable and disable the jQuery setting.
Comment #11
Samvel CreditAttribution: Samvel at DrupalJedi commentedProblem still not fixed, when varaibles
enabled. And they still enabled by default. It looks like they disabled by default, but it's bug, patch to fix it #2513970-7: Don't use the string 'TRUE' as a boolean
Comment #12
kyletaylored CreditAttribution: kyletaylored at LevelTen Interactive commented