Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
i copy my firebug error:
Drupal.jqui_dialog is undefined
[Break on this error] dialogIframe = Drupal.jqui_dialog.iframeSelector();
imgupload.js?F (wiersz 59)
Drupal.jqui_dialog is undefined
add_form()imgupload.js?F (wiersz 59)
invoke()imgupload.js?F (wiersz 41)
Execute()fckedi....6.js?F (wiersz 104)
FCKToolbarButton()fckedi...ecko.js (wiersz 88)
FCKToolbarButtonUI_OnClick()fckedi...ecko.js (wiersz 87)
CancelEvent()fckedi...ecko.js (wiersz 37)
[Break on this error] dialogIframe = Drupal.jqui_dialog.iframeSelector();
imgupload.js?F (wiersz 59)
I have fckeditor 2.6.5 and wysiwyg 6.2.
Comments
Comment #1
EugenMayer CreditAttribution: EugenMayer commentedHello,
well once again CVS messed it all up. The jquery_ui_dialog module has not been added to the CVS completely, so you are missing some files.
Wait for ~ 20 minutes i will release a BETA2 anyway.
Comment #2
EugenMayer CreditAttribution: EugenMayer commentedsolved in 6--1-0-BETA2
Comment #3
EugenMayer CreditAttribution: EugenMayer commentedComment #4
alangbrown CreditAttribution: alangbrown commentedHi
I'm trying to setup this module to allow image upload in a forum.
Get the same error (have checked all dependencies are correct versions)
I'm using WYSIWYG Image Upload - 6.x-1.x-dev
JS ERROR (according to Firebug) is:
Drupal.jqui_dialog is undefined
Any ideas???
Comment #5
EugenMayer CreditAttribution: EugenMayer commentedPlease use the current release candite and report back.
Comment #6
alangbrown CreditAttribution: alangbrown commentedOK, changed version to 6.x-1.0-rc3 and tried again (clearing site cache)
Same issue....
JS ERROR -
Message: 'Drupal.jqui_dialog' is null or not an object
Line: 77
Char: 5
Code: 0
URI: http://[MY_SITE]/modules/wysiwyg_imageupload/plugins/imgupload/imgupload.js?O
Comment #7
EugenMayer CreditAttribution: EugenMayer commentedwell, did you install jquery_ui_dialog (did you activate it?)? As its a dependecy i guess you will. Can you check, if the "parent.js" is loaded?
The only thing i can see here is a namespace conflict with the js files, which would be my fault as i would have needed to prefix those js files.
So finally, do you have the js aggregator activated? if yes, try to disable it once.
Comment #8
EugenMayer CreditAttribution: EugenMayer commentedMoving over, as its most probably a issue for jquery_ui_dialog
Comment #9
alangbrown CreditAttribution: alangbrown commentedThanks for the help so far.
Can confirm I have installed and activated jquery_ui_dialog.
I've also just tried your latest release 6.x-1.0-rc3 (with the prefixed js files) but still get the same js error when clicking the insert image button (in TinyMCE).
As you suggested I checked the forum comment page where my TinyMCE WYSIWYG input is being used and can see that jquery_ui_dialog_parent.js is NOT loaded.
Any ideas why??
Comment #10
EugenMayer CreditAttribution: EugenMayer commentedDo you have activated any performance tunes, especially js aggregation?
Comment #11
EugenMayer CreditAttribution: EugenMayer commentedComment #12
EugenMayer CreditAttribution: EugenMayer commentedDublicate of http://drupal.org/node/731142
Comment #13
EugenMayer CreditAttribution: EugenMayer commented