Closed (won't fix)
Project:
jQuery UI
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2010 at 13:07 UTC
Updated:
8 Sep 2010 at 23:58 UTC
Had a problem where turning on "Optimize Javascript" in admin/settings/performance prevented my wysiwyg-enabled ckeditor from showing.
Turns out the least intrusive fix is to disable preprocessing for the ui.dialog plugin.
Here is my workaround/diff:
Index: jquery_ui.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/jquery_ui/jquery_ui.module,v
retrieving revision 1.6.2.2
diff -r1.6.2.2 jquery_ui.module
79c79,85
< drupal_add_js($js_path);
---
> switch($file) {
> case 'ui.dialog':
> drupal_add_js($js_path,'module','header',false,true,false);
> break;
> default:
> drupal_add_js($js_path);
> }
| Comment | File | Size | Author |
|---|---|---|---|
| jquery_ui.patch | 464 bytes | pillarsdotnet |
Comments
Comment #1
sunUnfortunately, this attempt won't fix. CKEditor has to be able to work with aggregated JS. Alternatively, Wysiwyg module has to cope for CKEditor's inabilities. But jQuery UI module cannot blatantly make this assumption (of having to be compatible with CKEditor) for all users of the jQuery UI module.