Author: pyaschenko
Date: 2008-01-24 11:52:33 -0500 (Thu, 24 Jan 2008)
New Revision: 5599
Modified:
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
Log:
small correction
Modified:
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
===================================================================
---
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2008-01-24
16:47:14 UTC (rev 5598)
+++
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2008-01-24
16:52:33 UTC (rev 5599)
@@ -193,7 +193,7 @@
if ((!this.editInFocus || newValue==sliderValue) && (this.required ||
"" != this.input.value || this.updating)){
this.input.value = this.value;
// this.optionInput.value = this.value;
- this.handle.style.left = this.translateToPx(newValue);
+ this.handle.style.left = this.translateToPx(this.value);
} else
{
this.handle.style.left = "-2px";