* Follow-up for issue #8673: htmlArea RTE drag n drop tab of image insertion not functional
* Follow-up for issue #8717: Add suggested doc extension to htmlArea RTE ext_emconf.php
+ * Fixed bug #8996: htmlArea RTE: link to file not updated when changing case in file name
2008-08-11 Ingo Renner <ingo@typo3.org>
* Follow-up for issue #8673: htmlArea RTE drag n drop tab of image insertion not functional
* Follow-up for issue #8717: Add suggested doc extension to htmlArea RTE ext_emconf.php
+ * Fixed bug #8996: htmlArea RTE: link to file not updated when changing case in file name
2008-08-04 Stanislas Rolland <typo3@sjbr.ca>
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();