sean.kinley-techfringe
-
3/5/2009 7:37:31 PM
Email Link Insert issue for FCKeditor in IE6 & IE7
I noticed that when you click on an email link that's been inserted using the FCKeditor in either IE6 or IE7, an email window pops up, but the underlying web page goes blank and only displays something resembling: mailto:me@myemail.com. This issue does not impact Firefox.
Here's the fix:
You need to change CMSAdminControls\FCKeditor\editor\dialog\fck_link\fck_link.js
Line 256 was: Code: -------------------------------------------------------------------------------- return 'javascript:location.href=\'mailto:\'+String.fromCharCode(' + aAddressCode.join( ',' ) + ')+\'?' + aParams.join( '&' ) + '\'' ; -------------------------------------------------------------------------------- Change it to: Code: -------------------------------------------------------------------------------- return 'javascript:void(location.href=\'mailto:\'+String.fromCharCode(' + aAddressCode.join( ',' ) + ')+\'?' + aParams.join( '&' ) + '\')' ; --------------------------------------------------------------------------------
You also may have to clear the browser's cache before using the FCKeditor in the CMSDesk.
I hope this helps.
|