Fixed bug #7947: IRRE - XCLASSes are not working with AJAX calls in t3lib_TCEforms_inline
authorOliver Hader <oliver.hader@typo3.org>
Thu, 27 Mar 2008 22:13:32 +0000 (22:13 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Thu, 27 Mar 2008 22:13:32 +0000 (22:13 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3476 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms_inline.php

index facc14c..7395b59 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-27  Oliver Hader  <oliver@typo3.org>
+
+       * Fixed bug #7947: IRRE - XCLASSes are not working with AJAX calls in t3lib_TCEforms_inline (thanks to Malte Jansen)
+
 2008-03-26  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #7944: htmlArea RTE: Configuration of mutually exclusive classes in very error prone
index 922a5e5..e064022 100755 (executable)
@@ -1002,13 +1002,13 @@ class t3lib_TCEforms_inline {
         * @return      void
         */
        protected function processAjaxRequestConstruct(&$ajaxArguments) {
-               require_once(PATH_typo3.'template.php');
-               require_once(PATH_t3lib.'class.t3lib_tceforms.php');
-               require_once(PATH_t3lib.'class.t3lib_clipboard.php');
+               global $SOBE, $BE_USER, $TYPO3_CONF_VARS;
 
                $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_alt_doc.xml');
 
-               global $SOBE, $BE_USER;
+               require_once(PATH_typo3.'template.php');
+               require_once(PATH_t3lib.'class.t3lib_tceforms.php');
+               require_once(PATH_t3lib.'class.t3lib_clipboard.php');
 
                        // Create a new anonymous object:
                $SOBE = new stdClass();