Bug #19264
closedExternal URLs cannot be set in RTEhtmlarea anymore
0%
Description
Since of revision 4006 in SVN Trunk, setting links on the tab "External URL" does not work anymore. On trying to set "http://www.google.com/" and hitting the "Set Link" some JavaScript error occurs and the browse link window gets closed without setting the link.
This bug only occurs in Firefox.
With SVN rev. 4005, everything is fine
With SVN rev. 4006 and any later revision, this error occurs.
(issue imported from #M9255)
Files
Updated by Uschi Renziehausen about 16 years ago
Hi Stan,
I can reproduce this is issue in a slightly different way after upgrading my core to latest branch of 4.2 this morning but behaviour is somehow different in my installation. This is what happens:
After having entered the URL http://www.tu-ilmenau.de into the URL field I press 'Set Link'. The label of the 'Set Link' button changes shortly to to http://www.tu-ilmenau.de, the link window does not close but the Page tab is activated.
Email links behave the same way.
Kind regards, Uschi
Updated by Johannes Pieper about 16 years ago
I use Firefox 2.0.0.16
I got these JS-Error:
Fehler: uncaught exception: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIDOMNSHTMLDocument.execCommand]" nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame :: http://localhost/typo3/typo3temp/rtehtmlarea/htmlarea_26010ec2d3539daf3e2e_compressed.js :: anonymous :: line 8" data: no]
Updated by Stanislas Rolland about 16 years ago
Since revision 4006, prototype.ja is included on the page in order to support DAM tabs. prototype.js extends form field elements with a method named setValue. A function with the same name was used by the RTE on the external url and email tabs.
The attached patches fix the issue in trunk and branch TYPO3_4-2 respectively.
Updated by Uschi Renziehausen about 16 years ago
Hi Stan,
patch works like a charm for 4.2 :-)
Uschi
Updated by Stanislas Rolland about 16 years ago
Committed to SVN TYPO3core branch TYPO3_4-2 revision 4038 and trunk revision 4039.