When juqery_update module is enabled, noie6 message don't displayed. I guess it's because jquery_update module rewrite $variables['scripts'] contents:
./jquery_update/jquery_update.module:84: $variables['scripts'] = drupal_get_js('header', $scripts);
Code to display message is not added trought drupal_add_js so it do not returned by drupal_get_js().
In any case, noie6 message is displayed if jquery_update module is switched off.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | noie6_head.patch | 1018 bytes | stackpr |
Comments
Comment #1
altrugon commentedI haven't experienced any problem with jquery_update module, can you tell me which version are you using?
I'll try to take a look to this issue as soon as I can.
Comment #2
suvisor commentedMy jquery_update version is 6.x-2.0-alpha1.
Comment #3
altrugon commentedYou are trying an alpha version, please try the recommended release.
If this problem continues one the alpha version get set as recommended then I will take a look at it.
Comment #4
4ud commentedIt doesn't work also with jquery_update 6.x-2.x-dev (2010-Sep-09). But the Fancybox modul need this version of jquery_update.
Anyone has an idea to fix it? I need help.
Thanks, 4ud
Comment #5
altrugon commentedI have notified the jquery_update team about this issue, waiting for their reply.
Comment #6
4ud commentedThank you altrugon!
Would be much appreciated if they can help very soon ...
Hasta pronto, 4ud
Comment #7
stackpr commentedbundlecache and any other module that manipulates $scripts will probably break this too. The attached patch appears to work. The comment-based auto-detection is moved to the $head variable, and the JS is loaded at the end of the script block IFF the conditional comment JS is executed. It is slightly more complex, but it should be compatible with most modules, and it should not impact browser compatibility (since it already requires JS).
Comment #8
makkon commentedJQUpdate 6.x-2.0-alpha1 tar.gz (81.69 KB) | zip (85.94 KB) 2010-Apr-23
+
No IE6 Version:6.x-1.1
=
not working
Comment #9
altrugon commentedUnfortunately makkon this issue can't be fixed until #965680: jquery_update_preprocess_page() overwrite $variables['scripts'] issue get solved.