Just checked out the current 2.x dev version and clicking the fckeditor plugin button does absolutely nothing in IE7. No error message, no popup (i have no popup blockers installed).
I poked around the plugin code (plugins/imagebrowser/fckplugin.js) and it turns out IE7 barfs on "Image Browser" in the window.open call (line 16). I have no clue why and I don't know who's fault it is (drupal, ie, javascript, fckeditor, etc.) but the fix is simply removing the space (ie "ImageBrowser"). No "-" or "_" either-- they both cause the same problem as the space-- and it doesn't seem to matter as it appears as if the window title is coming from some place else (cause the space still appears to be there even after removing it from the function).
After 2 hours of debugging this (because, like an idiot, I thought that space couldn't possibly be the problem so I messed around with everything else in that function call) I could scream!
Hopefully this helps someone else avoiding the time sink I just had.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | fckplugin_2.patch | 358 bytes | jseffel |
| #5 | fckplugin.patch | 515 bytes | jseffel |
Comments
Comment #1
igorik commentedHi,
are you sure you are talking about IB 2.x?
there is no such path you wrote.
for the plugins there is only imagebrowser/plugins/ib_fckeditor directory, with file ib_fckeditor.js
in this file is only this function
with no words like 'image browser'
So I am relly curious what you are talking about, because I have problem with IE in imagebrowser 2.x (IE8 - no popup) and I have no solution yet how to fix it.
Thanks
Comment #2
WorldFallz commentedThe full path to the file is sites/all/modules/fckeditor/plugins/imagebrowser/fckplugin.js.
Comment #3
skilatchi commentedWorks a charm, Thanks.
Comment #4
dominikhoffmann commentedSame here, the solution works, simply remove the space!
Comment #5
jseffel commentedFor those who like patches I've attached 2.
fckplugin.patch:
Fixes this problem, adds resizable and removed the top/left thing which made the window open on the first screen if you have two connected (annoying) and also has the fix for not showing the button at all.
fckplugin_2.patch:
Same as above but without the "for for not show the button at all" included if you decided to take another approach on that issue.
Comment #6
himagarwal commentedI'm facing the same problem in IE6, applied both the patches but didn't worked. Any solution?
Comment #7
asak commentedWorks great for fixing this issue in both IE7 and IE8
Comment #8
jdelaune commentedOk i've moved this plugin into the IB module so you don't have to download it from an external site anymore. Means I can apply updates to it more easily. Also means however you will have overwrite the pervious fckeditor plugin.
New dev release of v2 should be out in the next 24hrs. Please test and let me know if you run into any more issues with IE.
Thanks for the patches.