Author: konstantin.mishin
Date: 2010-09-21 10:44:03 -0400 (Tue, 21 Sep 2010)
New Revision: 19278
Modified:
branches/RF-9151/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSpinner.js
Log:
RF-9195
Modified:
branches/RF-9151/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSpinner.js
===================================================================
---
branches/RF-9151/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSpinner.js 2010-09-21
14:31:52 UTC (rev 19277)
+++
branches/RF-9151/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSpinner.js 2010-09-21
14:44:03 UTC (rev 19278)
@@ -148,14 +148,12 @@
__clearInterval: function (event) {
window.clearInterval(this.intervalId);
- console.log('alert');
+ var button = this.increaseButton;
if (event.data) { // decreaseButton
- this.decreaseButton.css("backgroundPosition",
"").unbind("mouseout", this.__clearInterval)
- .unbind("mouseup", this.__clearInterval);
- } else {
- this.increaseButton.css("backgroundPosition",
"").unbind("mouseout", this.__clearInterval)
- .unbind("mouseup", this.__clearInterval);
+ button = this.decreaseButton;
}
+ button.css("backgroundPosition", " 50%
40%").unbind("mouseout", this.__clearInterval)
+ .unbind("mouseup", this.__clearInterval);
}
});
}(window.RichFaces, jQuery));
\ No newline at end of file
Show replies by date