fix setting max value in IntSlider form control

This commit is contained in:
Colin Kuskie 2007-02-01 21:00:46 +00:00
parent 89624cc8c6
commit 42d489fa39
2 changed files with 4 additions and 3 deletions

View file

@ -37,6 +37,7 @@
- fix: Creating a new account when purchasing something properly redirects users to the checkout page
- fix: Group expiration dates on subscriptions are now correct
- fix: Rating numbers drop after rating asset (perlDreamer Consulting, LLC)
- fix: Sliders break if you set minimum value (thanks to Patrick (patspam))
- fix: EMS: blank lines appearing in registrants. Note - this fix requires
the use of new template variables in the EMS checkout template. See
gotchas.txt for details.

View file

@ -321,9 +321,9 @@ sub toHtml {
var inputEl_$uniqueness = document.forms[0]['$id-input'];
var $slider = new Slider(sliderEl_$uniqueness, inputEl_$uniqueness);
$slider.setMaximum('|.$self->getSliderMaximum.qq|');
$slider.setMinimum('|.$self->getSliderMinimum.qq|');
$slider.setValue('|.$self->getSliderValue.qq|');
$slider.setMaximum(|.$self->getSliderMaximum.qq|);
$slider.setMinimum(|.$self->getSliderMinimum.qq|);
$slider.setValue(|.$self->getSliderValue.qq|);
$slider.onchange = function () {|.
$self->getOnChangeSlider.qq|;