Can't see upload form in Safari Browser

wickwood - June 28, 2009 - 04:21
Project:Image Assist
Version:6.x-2.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I'm using Image Assist with WYSIWYG Module and TinyMCE.

When I click the icon to add an image, and then click upload image, most of the time but not always, the form to upload does not appear when I'm using the Safari Browser. I see scroll bars and but the window is just background. I had the same problem with 6.x-2.0-alpha3 and with different theme on a different site.

If I retry several times by closing the window and clicking the icon again, eventually it will load and be visible.

Seems to work OK with Firefox.

Sorry I don't have any other details, but thought others might be experiencing the same thing or have ideas as to what I might look for to test.

Thanks,
Steve

#1

genox - June 29, 2009 - 00:11

I have the same problem: Image Assist with WYSIWYG Module and TinyMCE, updated to the latest (stable) versions. Didn't work in Safari 3.x, doesn't work in Safari 4.x either.

#2

wickwood - July 1, 2009 - 02:36

Glad I'm not alone! I'm using Safari 4.x now, but had the same problem in 3.x too. Also using latest stable versions of WYSIWG and Image Assist. I have a problem with getting WYSWIG to recognize latest version of TinyMCE, too. See http://drupal.org/node/504556

#3

epiphanydigital - July 20, 2009 - 20:09

Ditto. Using 6.x-alpha3 and Safari 4.x with FCKeditor. No upload form. Tried updating to alpha4 and can't get an upload form in Firefox now either. Reverted to alpha3.

#4

Steven Jones - September 23, 2009 - 15:35

We are also seeing this issue, but not on local development sites. We can only reproduce the bug when the site is living on a remote (thus slower) network. Could the slightly crazy loading of CSS by javascript be the issue here?

#5

ggevalt - October 6, 2009 - 22:30

We are using the Image Assist 6.x-2.0 alpha4 and we are having the same issue with Image Assist in Safari. It's just a blank page when the popup appears. The module works fine in Internet Explorer and Firefox.
Would really love to have some help with this. Some of the schools we work with use Safari....

FYI, this issue seems to have been raised a couple of times with earlier versions of Safari with no apparent resolution.
Also, we are using Image Assist with Image in FCKEditor.

Anyone have any thoughts?

Thanks

geoff

#6

Steven Jones - October 23, 2009 - 15:14
Version:6.x-3.x-dev» 6.x-2.x-dev
Status:active» needs review

The issue here seems to be that the loading of the CSS via document.write fails badly in safari, infact after much investigation it would seem that you can't load any CSS in that way in Safari, even if you create a DOM node and add it to the section.

However, good news! Safari will load the CSS and not completely die if the code to add the CSS is in a setTimeout call, even if the timeout is just 1ms!

Also, happily the offending code is in a theme function, so those of you who need an urgent fix can get one!

Find attached a theme function, pop it in your template.php and rename the 'theme' in the function to the name of your theme. Then theme rebuild and your img_assist should work in Safari!

AttachmentSize
img_assist-504304.txt 3.65 KB

#7

Steven Jones - October 23, 2009 - 15:23
Status:needs review» needs work

Rubbish!

This 'fix' actually crashes IE6 and IE8 gives some errors.

#8

Steven Jones - October 23, 2009 - 16:14
Status:needs work» needs review

Wow, IE really doesn't like setting the href property of a link tag.

Fixed version attached.

AttachmentSize
img_assist-504304.txt 3.62 KB
 
 

Drupal is a registered trademark of Dries Buytaert.