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

EugenMayer’s picture

Hello,

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.

EugenMayer’s picture

solved in 6--1-0-BETA2

EugenMayer’s picture

Status: Active » Closed (fixed)
alangbrown’s picture

Version: 6.x-1.0-beta1 » 6.x-1.x-dev
Status: Closed (fixed) » Active

Hi

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???

EugenMayer’s picture

Please use the current release candite and report back.

alangbrown’s picture

Version: 6.x-1.x-dev » 6.x-1.0-rc3

OK, 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

EugenMayer’s picture

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

EugenMayer’s picture

Project: WYSIWYG image upload - Inline images for your WYSIWYG » jQuery UI Dialog
Version: 6.x-1.0-rc3 » 6.x-1.0-rc2

Moving over, as its most probably a issue for jquery_ui_dialog

alangbrown’s picture

Version: 6.x-1.0-rc2 » 6.x-1.0-rc3

Thanks 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??

EugenMayer’s picture

Do you have activated any performance tunes, especially js aggregation?

EugenMayer’s picture

Status: Active » Postponed (maintainer needs more info)
EugenMayer’s picture

EugenMayer’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)