Fixed bug #12415: Respect change #17167: Cache ExtDirect::getAPI calls
authortolleiv <tolleiv@743128fe-103e-dd11-99c4-001b210b3e58>
Fri, 21 Jan 2011 09:54:10 +0000 (09:54 +0000)
committertolleiv <tolleiv@743128fe-103e-dd11-99c4-001b210b3e58>
Fri, 21 Jan 2011 09:54:10 +0000 (09:54 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/CoreProjects/workspaces/workspaces/trunk@3914 743128fe-103e-dd11-99c4-001b210b3e58

typo3/sysext/workspaces/ChangeLog
typo3/sysext/workspaces/Classes/Controller/PreviewController.php
typo3/sysext/workspaces/Classes/Controller/ReviewController.php

index 685d2ef..a81ee9e 100644 (file)
@@ -1,5 +1,6 @@
 2011-01-21  Tolleiv Nietsch <typo3@tolleiv.de>
 
+       * Fixed bug #12415: Respect change #17167: Cache ExtDirect::getAPI calls
        * Fixed bug #12308: Workspace non-admin not workspace owner sees icon to swap updated version with Live site
        * Fixed bug #12384: Mount points are not taken into account in element-list
        * Fixed bug #12325: Hide icons that don't work in the current context
index 03f341e..f09f070 100644 (file)
@@ -51,7 +51,7 @@ class Tx_Workspaces_Controller_PreviewController extends Tx_Workspaces_Controlle
                        // Load  JavaScript:
                $this->pageRenderer->addExtDirectCode();
                $this->pageRenderer->addJsFile(
-                       $this->backPath . 'ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.Workspaces',
+                       $this->backPath . 'ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.Workspaces&' . TYPO3_version,
                        NULL,
                        FALSE
                );
index 32c35cd..8351697 100644 (file)
@@ -139,7 +139,7 @@ class Tx_Workspaces_Controller_ReviewController extends Tx_Workspaces_Controller
 
                        // Load  JavaScript:
                $this->pageRenderer->addExtDirectCode();
-               $this->pageRenderer->addJsFile($this->backPath . 'ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.Workspaces', NULL, FALSE);
+               $this->pageRenderer->addJsFile($this->backPath . 'ajax.php?ajaxID=ExtDirect::getAPI&namespace=TYPO3.Workspaces&' . TYPO3_version, NULL, FALSE);
 
                $this->pageRenderer->addJsFile($this->backPath . '../t3lib/js/extjs/ux/flashmessages.js');
                $this->pageRenderer->addJsFile($this->backPath . '../t3lib/js/extjs/ux/Ext.grid.RowExpander.js');