Project

General

Profile

Actions

Bug #38365

closed

value slider does not work via AJAX

Added by Alexander Jahn over 12 years ago. Updated over 9 years ago.

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 #1

Updated by Wouter Wolters almost 10 years ago

  • Status changed from New to Needs Feedback
  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.9)?

Actions #2

Updated by Alexander Opitz over 9 years ago

  • Status changed from Needs Feedback to Closed
  • Target version deleted (4.7.2)

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF