Fix the IntSlider integer input box. It was displaying 0 regardless of the actual

value of the slider.
Fixes bug #10552.
This commit is contained in:
Colin Kuskie 2009-08-17 23:41:16 +00:00
parent 0511af269d
commit afbd893061
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,5 @@
7.7.18
- fixed #10552: Map: Editing map properties resets zoom level to 0
- fixed #10758: CS #replies does not get updated after post restore from trash (Bart Jol / Procolix)
- fixed #10781: User Profile Editable/Required gotcha
- fixed #10786: Matrix navigation: search screen to view screen

View file

@ -87,9 +87,10 @@ Returns the form element used for manual input.
sub getInputElement {
my $self = shift;
$self->session->log->warn("int slider value: ". $self->getSliderValue);
return WebGUI::Form::Integer($self->session, {
name => $self->get('name'),
value => $self->getValue(),
value => $self->getSliderValue(),
size => $self->get('size'),
id => 'view-'.$self->get('id'),
});