Closed (fixed)
Project:
jQuery UI
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2009 at 23:37 UTC
Updated:
21 Jan 2009 at 14:29 UTC
If "Optimize javascript" is enabled on admin/settings/performance while you try to use ui tabs (jquery_ui_add('ui.tabs') ) than the whole JS fails, no JS run.
Attached a simple module which fails if "Optimize javascript" setting is enabled.
| Comment | File | Size | Author |
|---|---|---|---|
| tabstest.zip | 749 bytes | edgarpe |
Comments
Comment #1
edgarpe commentedDug a little deeper: the problem only applies to Drupal 6.9. D6.8 is fine.
Comment #2
mfer commentedWhat happens in 6.9? Is the JS file included in the page but break? Does it not include the JS file?
A diff of common.inc between 6.8 and 6.9 can be found at http://cvs.drupal.org/viewvc.py/drupal/drupal/includes/common.inc?r1=1.7...
There is nothing here referenced by or part of the JavaScript handling functions.
Comment #3
edgarpe commentedSorry, I made a mistake. It applies form D6.0 to D6.9 and it's even this modules issue. The thing is as simple as that:
Drupals javascript optimizations feature is incompatible with most jQuery UI components (ui.tabs.js for example). Using optimization feature with ui.tabs.js breaks the whole generated Javascript file.