Author: pyaschenko
Date: 2009-09-29 13:18:54 -0400 (Tue, 29 Sep 2009)
New Revision: 15687
Modified:
branches/community/3.3.X/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
Log:
https://jira.jboss.org/jira/browse/RF-7930
Modified:
branches/community/3.3.X/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
===================================================================
---
branches/community/3.3.X/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2009-09-29
17:09:11 UTC (rev 15686)
+++
branches/community/3.3.X/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2009-09-29
17:18:54 UTC (rev 15687)
@@ -40,6 +40,9 @@
this.tipArrowDec = $(tipArrowDecId) ||
document.getElementsByName(tipArrowDecId)[0];
}
this.options = defaultOptions;
+ //QUICK FIX for RF-7930 // need to be reworked
+ this.options.minValue = parseFloat(this.options.minValue);
+ this.options.maxValue = parseFloat(this.options.maxValue);
this.orientation = this.options.orientation;
@@ -64,11 +67,6 @@
this.graggedImageOn = false;
this.value = 0;
this.digCount = 0;
-
- //QUICK FIX for RF-7930 // need to be reworked
- this.options.minValue = this.roundFloat(this.options.minValue);
- this.options.maxValue = this.roundFloat(this.options.maxValue);
-
this.delay = this.options.delay;
if("" == this.input.value){
this.input.value = this.options.minValue;