In case of use theme in pair with twitter_bootstrap_ui module default bootstrap.js from theme info file also will be tried to load.
There is a patch in attachment.
Idea of patch is to remove twitter_bootstrap_ui library load from html preprocess and move it to js_alter implementation.
It make possible to exclude default js if twitter_bootstrap_ui available.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1686342-double-js-twitter.patch | 1.45 KB | wiifm |
| twitter_bootstrap-double-js.patch | 1.6 KB | IRuslan |
Comments
Comment #1
wiifmPatch applied cleanly when using
patch -p2 < [patchfile]Have re-rolled the patch with the correct path, so hopefully drush make will like it.
This needs to be committed ASAP, works as described as stops the duplicate request (that always returns a 404) for the bootstrap.js file.
Comment #2
wundo commentedFixed, thanks!
Comment #4
andregriffin commented