Project

General

Profile

Bug #20712 ยป rtehtmlarea-bug-report-2009-07-03.diff

Administrator Admin, 2009-07-03 12:09

View differences:

htmlarea_000dbb6543e98e8d631a.js 2009-07-03 11:46:49.000000000 +0200
link.rel = "stylesheet";
link.type = "text/css";
link.href = HTMLArea.editorCSS;
if (link.href.indexOf("http") == -1 && HTMLArea.is_gecko) link.href = _typo3_host_url + link.href;
//
// mb, 2009-07-03, Problem with FF 3.0.11, TYPO3-4.2.6, rtehtmlarea-1.7.9
// This is file: typo3_src-4.2.6/typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js
// Install dir is http://www.myserver.local/CUSTOMER/
//
// at this point in JS this is what happens when I've clicked the "generate table" button:
// link.href is: "chrome://browser/CUSTOMER/typo3/sysext/t3skin/rtehtmlarea/htmlarea.css"
// _typo3_host_url is: "http://www.myserver.local"
if (link.href.indexOf("http") == -1 && HTMLArea.is_gecko) link.href = _typo3_host_url + link.href; // this is originally line 3520
// now link.href is: "http://www.myserver.localchrome//browser/CUSTOMER/typo3/sysext/t3skin/rtehtmlarea/htmlarea.css"
// which is wrong and doesn't work.
head.appendChild(link);
},
    (1-1/1)