Fixed bug #14326: [Performance] Preload ExtJS in BE
authorSteffen Kamper <info@sk-typo3.de>
Sat, 8 May 2010 15:55:22 +0000 (15:55 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Sat, 8 May 2010 15:55:22 +0000 (15:55 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7568 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/index.php

index a3bfda4..d0fbe5b 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-05-07  Steffen Kamper  <info@sk-typo3.de>
 
+       * Fixed bug #14326: [Performance] Preload ExtJS in BE
        * Fixed bug #14288: opendocs can cause duplicate id html errors (thanks to Stefan Galinski)
 
 2010-05-07  Stanislas Rolland  <typo3@sjbr.ca>
index 8dfca62..21aa714 100644 (file)
@@ -184,6 +184,8 @@ class SC_index {
                $TBE_TEMPLATE->bodyTagAdditions = ' onload="startUp();"';
                $TBE_TEMPLATE->moduleTemplate = $TBE_TEMPLATE->getHtmlTemplate('templates/login.html');
 
+               $TBE_TEMPLATE->getPageRenderer()->loadExtJS();
+
                        // Set JavaScript for creating a MD5 hash of the password:
                $TBE_TEMPLATE->JScode.= $this->getJScode();
 
@@ -580,7 +582,7 @@ class SC_index {
                                        '###CONTENT###' => trim($newsItem['content']),
                                        '###CLASS###'   => $additionalClass
                                );
-                               
+
                                $count++;
                                $newsItemContent .= t3lib_parsehtml::substituteMarkerArray($newsItemTemplate, $newsItemMarker);
                        }