First, thanks for all your hard work on this and the wysiwg_image_upload module, and your helpful attitude in the forums! I'm looking forward to seeing the module in action, but have hit a problem.
I installed wysiwg_image_upload according to directions. Drupal reports jQuery UI 1.7.2 and jQuery update 1.3.2 installed. I've also installed the patch in #497654: Drupal plugin buttons disabled in WebKit based browsers which has made the img upload button appear in Chrome and Safari.
Using Jquery UI Dialog 6.x-1.x-dev (2010-Mar-02) – also tried 6.x-1.0-rc3
Problem: when I click the button, I get JS errors from this module:
Chrome:
/sites/all/modules/jquery_ui_dialog-DRUPAL-6--1/js/jquery_ui_dialog_parent.js?d:78
Uncaught TypeError: Object #<an Object> has no method 'dialog'Safari:
/sites/all/modules/jquery_ui_dialog-DRUPAL-6--1/js/jquery_ui_dialog_parent.js?d:78
TypeError: Result of expression 'self.container.dialog' [undefined] is not a function. Firefox:
self.container.dialog is not a function
/sites/all/modules/jquery_ui_dialog-DRUPAL-6--1/js/jquery_ui_dialog_parent.js?d
Line 78So they're all in agrement ;-)
What am I doing wrong?
Comments
Comment #1
eugenmayer commentedHello,
dou you have some "performance" optimizations activated? I mean, js-compressions, CSS comression and so forth. If yes, try to disable them and report back if this is the potential problem.
What you get told is, that dialog is not initalized, so therefor the jquery_ui js file "jquery_ui.dialog.js" has not been loaded, so the method fails.
So its something arround the inclusion of JS files using jquery_ui`s API, something fishy with that. Can you check, if those ui.dialog.js and the other are included during loading ( using firebug )
Thanks
Comment #2
laken commentedThanks for the quick reply. I had placed jquery.ui incorrectly in the directory – fixing that allows the popup to appear.
Thanks!