Bug #71436 » FormInlineAjaxController.php.patch

Witali Rott, 2015-11-20 13:28

View differences:

typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php
101 101
        }
102 102

  
103 103
        if ($parentConfig['type'] === 'flex') {
104
            $parentConfig = $this->getParentConfigFromFlexForm($parentConfig, $domObjectId);
104
            if(!empty($ajaxArguments['context'])) {
105
                $ajaxContext = json_decode($ajaxArguments['context'], true);
106
                $parentConfig = $ajaxContext['config'];
107
            } else {
108
                $parentConfig = $this->getParentConfigFromFlexForm($parentConfig, $domObjectId);
109
            }
105 110
        }
106 111
        $childTableName = $parentConfig['foreign_table'];
107 112

  
(1-1/8)