kill off jqm selectmenu
This commit is contained in:
parent
036c620dac
commit
6bf7ea2ea5
52 changed files with 164 additions and 429 deletions
|
@ -131,16 +131,16 @@
|
|||
"change": "_controlChange",
|
||||
"keyup": "_controlKeyup",
|
||||
"blur": "_controlBlur",
|
||||
"vmouseup": "_controlVMouseUp"
|
||||
"mouseup": "_controlVMouseUp"
|
||||
});
|
||||
|
||||
slider.bind("vmousedown", $.proxy(this._sliderVMouseDown, this))
|
||||
slider.bind("mousedown", $.proxy(this._sliderVMouseDown, this))
|
||||
.bind("click", false);
|
||||
|
||||
// We have to instantiate a new function object for the unbind to work properly
|
||||
// since the method itself is defined in the prototype (causing it to unbind everything)
|
||||
this._on(document, { "vmousemove": "_preventDocumentDrag" });
|
||||
this._on(slider.add(document), { "vmouseup": "_sliderVMouseUp" });
|
||||
this._on(document, { "mousemove": "_preventDocumentDrag" });
|
||||
this._on(slider.add(document), { "mouseup": "_sliderVMouseUp" });
|
||||
|
||||
slider.insertAfter(control);
|
||||
|
||||
|
@ -153,7 +153,7 @@
|
|||
|
||||
// bind the handle event callbacks and set the context to the widget instance
|
||||
this._on(this.handle, {
|
||||
"vmousedown": "_handleVMouseDown",
|
||||
"mousedown": "_handleVMouseDown",
|
||||
"keydown": "_handleKeydown",
|
||||
"keyup": "_handleKeyup"
|
||||
});
|
||||
|
@ -642,7 +642,7 @@
|
|||
"reset": "_handleReset"
|
||||
});
|
||||
this._on(firstHandle, {
|
||||
"vmousedown": "_dragFirstHandle"
|
||||
"mousedown": "_dragFirstHandle"
|
||||
});
|
||||
},
|
||||
_handleReset: function () {
|
||||
|
@ -681,7 +681,7 @@
|
|||
this._proxy = false;
|
||||
//this stops dragging of the handle and brings the active track to the front
|
||||
//this makes clicks on the track go the the last handle used
|
||||
this.element.find("input").trigger("vmouseup");
|
||||
this.element.find("input").trigger("mouseup");
|
||||
this._sliderFirst.css("z-index", first ? 1 : "");
|
||||
},
|
||||
|
||||
|
@ -870,8 +870,8 @@
|
|||
|
||||
this._setOption("popupEnabled", this.options.popupEnabled);
|
||||
|
||||
this._on(this.handle, { "vmousedown": "_showPopup" });
|
||||
this._on(this.slider.add(this.document), { "vmouseup": "_hidePopup" });
|
||||
this._on(this.handle, { "mousedown": "_showPopup" });
|
||||
this._on(this.slider.add(this.document), { "mouseup": "_hidePopup" });
|
||||
this._refresh();
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue