Skip to content
Permalink
Browse files

Fixed #4292 (Slider: ui.value incorrect in slide event if handle at v…

…alue 0)
  • Loading branch information...
rdworth committed Mar 10, 2009
1 parent 439d93b commit 4bfadc451477639f88412f9a955214cce4cd68f4
Showing with 8 additions and 4 deletions.
  1. +8 −4 ui/ui.slider.js
@@ -299,11 +299,15 @@ $.widget("ui.slider", $.extend({}, $.ui.mouse, {
},

_start: function(event, index) {
this._trigger("start", event, {
var uiHash = {
handle: this.handles[index],
value: this.value(),
values: this.values()
});
value: this.value()
};
if (this.options.values && this.options.values.length) {
uiHash.value = this.values(index)
uiHash.values = this.values()
}
this._trigger("start", event, uiHash);
},

_slide: function(event, index, newVal) {

0 comments on commit 4bfadc4

Please sign in to comment.
You can’t perform that action at this time.