[BUGFIX] RTE: Compressor fails on files with absolute url in FE
authorStanislas Rolland <typo3@sjbr.ca>
Tue, 4 Oct 2011 03:19:04 +0000 (23:19 -0400)
committerStanislas Rolland <typo3@sjbr.ca>
Tue, 4 Oct 2011 03:17:52 +0000 (05:17 +0200)
Solution: Use relative url.

Change-Id: I5bca5cd8567f9489e07ec928b9b2e046e970f212
Resolves: #30533
Releases: 4.6
Reviewed-on: http://review.typo3.org/5510
Reviewed-by: Stanislas Rolland
Tested-by: Stanislas Rolland
typo3/sysext/rtehtmlarea/pi2/class.tx_rtehtmlarea_pi2.php

index 18d9d8d..df0c122 100644 (file)
@@ -227,9 +227,9 @@ class tx_rtehtmlarea_pi2 extends tx_rtehtmlarea_base {
                                $pageRenderer->enableExtJsDebug();
                        }
                }
-               $pageRenderer->addCssFile($this->siteURL . 't3lib/js/extjs/ux/resize.css');
-               $pageRenderer->addJsFile($this->siteURL . 't3lib/js/extjs/ux/ext.resizable.js');
-               $pageRenderer->addJsFile($this->siteURL . '/t3lib/js/extjs/notifications.js');
+               $pageRenderer->addCssFile('t3lib/js/extjs/ux/resize.css');
+               $pageRenderer->addJsFile('t3lib/js/extjs/ux/ext.resizable.js');
+               $pageRenderer->addJsFile('t3lib/js/extjs/notifications.js');
                if ($this->TCEform->RTEcounter == 1) {
                        $this->TCEform->additionalJS_pre['rtehtmlarea-loadJScode'] = $this->wrapCDATA($this->loadJScode($this->TCEform->RTEcounter));
                }