fixed: SelectSlider form control is broken
This commit is contained in:
parent
15941aaea2
commit
e7e0511552
5 changed files with 17 additions and 19 deletions
|
|
@ -91,7 +91,7 @@ Returns the value that should be displayed initially.
|
|||
sub getDisplayValue {
|
||||
my $self = shift;
|
||||
|
||||
return $self->getValue();
|
||||
return $self->getOriginalValue();
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
@ -237,7 +237,7 @@ Returns the initial position of the slider in slider units.
|
|||
sub getSliderValue {
|
||||
my $self = shift;
|
||||
|
||||
return $self->getValue();
|
||||
return $self->getOriginalValue();
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
@ -283,7 +283,7 @@ sub toHtml {
|
|||
$output .= '<td><div class="slider" id="'.$self->get('id').'" '.$self->get("extras").' tabindex="1">';
|
||||
$output .= WebGUI::Form::hidden($self->session, {
|
||||
-name => 'slider-'.$self->get('name'),
|
||||
-value => $self->getValue(),
|
||||
-value => $self->getOriginalValue(),
|
||||
-id => $self->get('id').'-input',
|
||||
-extras => 'class="slider-input"',
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue