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);
>       }
CommentFileSizeAuthor
jquery_ui.patch464 bytespillarsdotnet
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sun’s picture

Status: Needs review » Closed (won't fix)

Unfortunately, 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.