Author: sergeyhalipov
Date: 2007-10-19 07:55:16 -0400 (Fri, 19 Oct 2007)
New Revision: 3449
Modified:
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/css/slider.xcss
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
Log:
http://jira.jboss.com/jira/browse/RF-1136
Modified:
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/css/slider.xcss
===================================================================
---
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/css/slider.xcss 2007-10-19
11:18:13 UTC (rev 3448)
+++
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/css/slider.xcss 2007-10-19
11:55:16 UTC (rev 3449)
@@ -13,7 +13,6 @@
position : absolute;
white-space : nowrap;
padding : 0px 2px 0px 2px;
- top: -17px;
border : 1px solid;
}
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 2007-10-19
11:18:13 UTC (rev 3448)
+++
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2007-10-19
11:55:16 UTC (rev 3449)
@@ -236,7 +236,8 @@
if(!this.disabled){
this.handle.className = this.classes.arrowSelected + this.classes.base +
this.classes.handleSelected;
if (this.options.currValue){
- this.tip.style.display = "block";
+ Element.show(this.tip);
+ Element.setStyle(this.tip, {top: '-' + (this.tip.offsetHeight+2) +
'px'});
}
Richfaces.createEvent("mousedown", this.mainTable, null, null).fire();
this.active = true;