Project

General

Profile

Bug #19119 » rtehtmlarea_bugfix_8996.patch

Administrator Admin, 2008-08-11 20:44

View differences:

typo3/sysext/rtehtmlarea/htmlarea/plugins/TYPO3Link/typo3link.js (copie de travail)
range = this.editor._createRange(selection);
this.cleanAllLinks(node, range, true);
}
// In FF, if the url is the same except for upper/lower case of a file name, the link is not updated.
// Therefore, we remove the link before creating a new one.
if (HTMLArea.is_gecko) {
this.editor._doc.execCommand("UnLink", false, null);
}
this.editor._doc.execCommand("CreateLink", false, theLink);
selection = this.editor._getSelection();
(1-1/2)