Was checking everything was still working for a Image Browser update I'm about to role out when I noticed there was an error in Safari (4.0.5). Works fine in Firefox however.
I'm setting the Link URL and Target using this code:
if (window.opener.GetE('txtLnkUrl')) {
window.opener.GetE('txtLnkUrl').value = link ;
}
if (window.opener.GetE('cmbLnkTarget')) {
window.opener.GetE('cmbLnkTarget').value = link_target ;
}
The transfer of information from IB to FCKeditor is fine and I an see all the information in the FCKeditor dialog, however when I click on 'Insert' I see the image getting inserted into the editor, however the dialog stays open and won't close until I cancel it.
Upon clicking insert I get the following JS error:
Error: NOT_FOUND_ERR: DOM Exception 8 fckeditorcode_gecko.js:63Error: NOT_FOUND_ERR: DOM Exception 8
Should the gecko js file even be loaded since this safari webkit based?
Let me know if I can provide any more information. Everything works perfectly if I don't pass a URL from ImageBrowser or manually enter a URL in the dialog.
Thanks
Comments
Comment #1
jorrit commentedSafari isn't that well supported by FCKeditor, so I don't support it as well as IE or FF for the module. You can try to use generic javascript methods to find and fill the element instead of GetE(). Otherwise, if your release works with CKEditor and doesn't work with FCKeditor, don't worry too much. CKEditor (http://drupal.org/project/ckeditor) is more important than FCKeditor.
Comment #2
jorrit commented