Skip to content
Snippets Groups Projects
Commit 98702a83 authored by Benni Mack's avatar Benni Mack Committed by Andreas Fernandez
Browse files

[BUGFIX] Let FormEngine Slider wizard save data again

Due to a change in FormEngine slider rewrite, the parameters
do not get handed over to the TBE_EDITOR update signal,
thus any changes on the slider do not reflect the actual field
that is sent to the server again.

Using apply() correctly as well as a document.ready()
statement makes this functionality work again.

Resolves: #71977
Releases: master
Change-Id: Ib033015d0c3869da487e9163ceca303bd1b436c8
Reviewed-on: https://review.typo3.org/45145


Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarDaniel Goerz <ervaude@gmail.com>
Tested-by: default avatarDaniel Goerz <ervaude@gmail.com>
Reviewed-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
parent ac8471ce
Branches
Tags
No related merge requests found
......@@ -59,7 +59,7 @@ define(['jquery', 'twbs/bootstrap-slider'], function($) {
break;
}
TBE_EDITOR.fieldChanged.apply(sliderCallbackParams);
TBE_EDITOR.fieldChanged.apply(TBE_EDITOR, sliderCallbackParams);
};
/**
......@@ -88,7 +88,7 @@ define(['jquery', 'twbs/bootstrap-slider'], function($) {
};
// init if document is ready
$(function() {
$(document).ready(function() {
ValueSlider.initializeSlider();
});
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment