Author: konstantin.mishin
Date: 2010-09-28 08:00:57 -0400 (Tue, 28 Sep 2010)
New Revision: 19353
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSlider.js
Log:
RF-9277
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSlider.js
===================================================================
---
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSlider.js 2010-09-28
05:57:06 UTC (rev 19352)
+++
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSlider.js 2010-09-28
12:00:57 UTC (rev 19353)
@@ -46,7 +46,8 @@
this.handle = this.track.children(".rf-insl-hnd, .rf-insl-hnd-dis");
this.tooltip = this.element.children(".rf-insl-tt");
- this.__inputHandler();
+ var proxy = jQuery.proxy(this.__inputHandler, this);
+ jQuery(document).ready(proxy);
if (!this.disabled) {
this.decreaseButton = this.element.children(".rf-insl-dec");
@@ -57,7 +58,6 @@
for (var i in selectedClasses) {
this[i] += " " + selectedClasses[i];
}
- var proxy = jQuery.proxy(this.__inputHandler, this)
this.input.change(proxy);
this.input.submit(proxy);
this.track.keydown(jQuery.proxy(this.__keydownHandler, this));
Show replies by date