AI OnAI Off
Issue solved by EPiServer support.
The following was the issue:
If you inserted a new image in the editor everything works fine but if you selected the image again and pressed the image button tool in the editor you got a javascript error on page.
This only happens in IE 8 (not if you run in compability mode)
Solution:
Change the following in the HyperlinkImageProperties.js located under EPiServer\CMS\5.2.375.236\application\util\Editor\javascript:
First is Line 262 if(!widthAttr.specified)
which should be if(widthAttr == null)
Second is 282 if(!heightAttr.specified)
which should be if(heightAttr == null)
The same lines of code needs to be fixed in HyperlinkProperties.js in order to get linking on images to work.
We have a site running on CMS5 R2 SP2 and on a pgae we have implemented a property as an editor (EditMode=true).
But in IE8 Some of the functions won't work such as inserting an image (we only get an undefined javascript error) and none of the alt text on the toolbuttons is showing up.
We have the following code in OnInit