Fixed bug #5248: IRRE - Element browser cannot be used on new child records of a...
authorOliver Hader <oliver.hader@typo3.org>
Fri, 30 Mar 2007 09:51:50 +0000 (09:51 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Fri, 30 Mar 2007 09:51:50 +0000 (09:51 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2233 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php

index d8e7b2b..154af33 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-03-30  Oliver Hader  <oh@inpublica.de>
+
+       * Fixed bug #5248: IRRE - Element browser cannot be used on new child records of a new parent record
+
 2007-03-30  Franz Holzinger  <kontakt@fholzinger.com>
 
        * Fixed bug #4725: Add parameter $allVer to function call of searchExtensionsXML in order to fetch the extension data also for older versions of an extension.
index 4162f8e..f2666ca 100755 (executable)
@@ -4976,8 +4976,8 @@ class t3lib_TCEforms      {
        function printNeededJSFunctions()       {
                        // JS evaluation:
                $out = $this->JSbottom($this->formName);
-                       //
-               if ($this->printNeededJS['dbFileIcons'])        {
+                       // Integrate JS functions for the element browser if such fields or IRRE fields were processed:
+               if ($this->printNeededJS['dbFileIcons'] || $this->inline->inlineCount)  {
                        $out.= '