[XForms] range regression, no thumb showing. Bug 366743, p=msterlin, r=surkov+aaronr

This commit is contained in:
aaronr%us.ibm.com 2007-01-29 21:42:05 +00:00
parent 899e3ef95f
commit 111d9f014c
2 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@
var value = parseFloat(aValue);
if (isNaN(value))
return false;
return this.start >= value && value <= this.end;
return value >= this.start && value <= this.end;
]]>
</body>
</method>

View File

@ -397,7 +397,7 @@
value = this.max;
var boxobj = this.sliderController;
if (!isNaN(value) && this.value != value)
if (!isNaN(this.value) && this.value != value)
this.eraseSlider(boxobj.getXCoordFromValue(this.value));
this.drawSlider(boxobj.getXCoordFromValue(value));
this.setAttribute("value", value);