Hi

I found a weird bug, when the image browser window with preview images is open, and I click on some of these previews when this new browser window is not fully loaded (bottom bar in IE 7 is still filled), then the page with the action links is loaded without css and javascript and click on insert doesn't work, nor refresh doesn't work. When I click on preview after the window is loaded, everything works fine.
(in the latest dev version is the same problem, I have no action links there (I wrote it as a new bug) but that page is loaded without css and javascript too)

Screenshot is attached
Thanks
Igorik
http://www.somvprahe.sk

CommentFileSizeAuthor
imagebrowser.gif25.25 KBigorik
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jdelaune’s picture

This is because the javascript overwrites the link actions to bring up an AHAH window. If the page hasn't loaded then the javascript won't have re-written the links so you will actually go through onto the page (and since it wasn't loaded by AHAH no javascript or css).

I'll look at ways of not showing the browser until the javascript has done it's thing.

Cheers

jdelaune’s picture

Made it so the interface doesn't get displayed until the end and hopefully all the JS has done it's stuff. Hard for me to test since it's pretty instant on my server but let me know if it doesn't sort the issue out.

I'll be rolling out a new dev tonight.

jdelaune’s picture

Status: Active » Fixed
igorik’s picture

Confirm, Now it works perfect.
Thanks
Igorik
http://www.somvprahe.sk

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Agileware’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Priority: Critical » Normal
Status: Closed (fixed) » Active

This seems to still be present in 6.x-2.x-dev.

1. you upload an image
2. after a short wait the image appears in the browser
3. after another second or two a message pops up to say that the image was successfully uploaded.

If you click the image in between stages 2 and 3 this problem occurs (the time between is easily enough for users to click during this time).

Dennis Cohn’s picture

Any update on this issue?
I also got this bug, no css and javascript is visible after i've added the image.

version 6.x-2.x-dev
jQuery UI
jQuery UI version (1.6)
Image Browser Plugin - WYSIWYG API

pitxels’s picture

I have the same issue here :(
its a shame because this is the only module that works ok on blocks, so I can not use any other one...

Any suggestion for me to make a workaround?

pitxels’s picture

My problem was, this module have conflict with colorbox, not sure where should I report the issue..