Fixed bug #14282: t3lib_compressor processes JSlibs, even when it's not supposed...
authorSteffen Kamper <info@sk-typo3.de>
Mon, 3 May 2010 12:56:31 +0000 (12:56 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Mon, 3 May 2010 12:56:31 +0000 (12:56 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7526 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_pagerenderer.php

index f89566f..586aea9 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-05-03  Steffen Kamper  <info@sk-typo3.de>
 
+       * Fixed bug #14282: t3lib_compressor processes JSlibs, even when it's not supposed to to (thanks to Steffen Gebert)
        * Fixed bug #14283: Loading scriptaculous with all modules fails with t3lib_compressor (thanks to Steffen Gebert)
        * Fixed bug #7795: opendocs: documents are opened without pagetree (thanks to Stefan Galinski)
        * Fixed bug #14144: Positioning of toolbar elements broken, especially in Safari (thanks to Stefan Galinski)
index 87f70bf..2b3bd6e 100644 (file)
@@ -1450,7 +1450,9 @@ class t3lib_PageRenderer implements t3lib_Singleton {
                                $filename = t3lib_div::createVersionNumberedFilename($filename);
                                break;
                        case 'BE':
-                               $filename = $this->getCompressor()->compressJsFile($filename);
+                               if ($this->compressJavascript) {
+                                       $filename = $this->getCompressor()->compressJsFile($filename);
+                               }
                                break;
                }
                return $filename;