diff --git a/typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js b/typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js index 8055323465ec74280465037293c77cf3db0869a3..e88edc94a874c75b07bd2d8ad3c15d69a3407709 100644 --- a/typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js +++ b/typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js @@ -285,7 +285,7 @@ HTMLArea.TYPO3Link = Ext.extend(HTMLArea.Plugin, { } if (HTMLArea.classesAnchorSetup) { var range = this.editor.getSelection().createRange(); - if (!Ext.isIE) { + if (!(Ext.isIE6 || Ext.isIE7 || Ext.isIE8)) { this.cleanAllLinks(node, range, false); } else { this.cleanAllLinks(node, range, true); @@ -316,7 +316,7 @@ HTMLArea.TYPO3Link = Ext.extend(HTMLArea.Plugin, { setLinkAttributes: function(node, range, cur_target, cur_class, cur_title, imageNode, addIconAfterLink, additionalValues) { if (/^a$/i.test(node.nodeName)) { var nodeInRange = false; - if (!Ext.isIE) { + if (!(Ext.isIE6 || Ext.isIE7 || Ext.isIE8)) { this.editor.focus(); nodeInRange = HTMLArea.DOM.rangeIntersectsNode(range, node); } else { @@ -347,7 +347,7 @@ HTMLArea.TYPO3Link = Ext.extend(HTMLArea.Plugin, { } else { if (!Ext.isOpera) { node.removeAttribute('class'); - if (Ext.isIE) { + if (Ext.isIE6 || Ext.isIE7 || Ext.isIE8) { node.removeAttribute('className'); } } else { @@ -411,7 +411,7 @@ HTMLArea.TYPO3Link = Ext.extend(HTMLArea.Plugin, { cleanAllLinks: function(node, range, keepLinks) { if (/^a$/i.test(node.nodeName)) { var intersection = false; - if (!Ext.isIE) { + if (!(Ext.isIE6 || Ext.isIE7 || Ext.isIE8)) { this.editor.focus(); intersection = HTMLArea.DOM.rangeIntersectsNode(range, node); } else {