Actions
Bug #38365
closedvalue slider does not work via AJAX
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2012-06-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
If an inline record using the value slider wizard is loaded by AJAX, the slider is not loaded.
I've traced this to t3lib_TCEforms_ValueSlider l. 113 $pageRenderer->addExtOnReadyCode($js). The onReady script registered here is not rendered at all.
Simply writing the code directly into $contents
/** @var $pageRenderer t3lib_pageRenderer */ // $pageRenderer = $GLOBALS['SOBE']->doc->getPageRenderer(); // $pageRenderer->addExtOnReadyCode($js); $contents .= '<script type="text/javascript">' . 'Ext.onReady(function() {' . $js . ' });' . '</script>'; return $contents;
at least initialises the slider and makes it work.
However, when opening the record, no value is displayed.
Actions