Fixed bug #13568: ExtDirect - API generator should built absolute links (Thanks to...
authorSteffen Kamper <info@sk-typo3.de>
Sat, 20 Feb 2010 15:34:25 +0000 (15:34 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Sat, 20 Feb 2010 15:34:25 +0000 (15:34 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6924 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/extjs/class.t3lib_extjs_extdirectapi.php

index 16e6352..f6c88ee 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-02-20  Steffen Kamper  <info@sk-typo3.de>
 
+       * Fixed bug #13568: ExtDirect - API generator should built absolute links (Thanks to Stefan Galinski)
        * Fixed bug #13333: Datepicker button color is wrong
 
 2010-02-20  Benjamin Mack  <benni@typo3.org>
index dcf925a..59b2ca1 100644 (file)
@@ -128,7 +128,7 @@ class t3lib_extjs_ExtDirectApi {
 
                                if (!isset($javascriptNamespaces[$javascriptNamespace])) {
                                        $javascriptNamespaces[$javascriptNamespace] = array(
-                                               'url' => 'ajax.php?ajaxID=ExtDirect::route&namespace=' . rawurlencode($javascriptNamespace),
+                                               'url' => t3lib_div::locationHeaderUrl('ajax.php?ajaxID=ExtDirect::route&namespace=') . rawurlencode($javascriptNamespace),
                                                'type' => 'remoting',
                                                'actions' => array(),
                                                'namespace' => $javascriptNamespace