fire open event after the drop has been opened
This commit is contained in:
parent
d04d127cab
commit
90998d8442
@ -998,7 +998,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
|
|
||||||
if (this.opened()) return false;
|
if (this.opened()) return false;
|
||||||
|
|
||||||
event = $.Event("open");
|
event = $.Event("opening");
|
||||||
this.opts.element.trigger(event);
|
this.opts.element.trigger(event);
|
||||||
return !event.isDefaultPrevented();
|
return !event.isDefaultPrevented();
|
||||||
},
|
},
|
||||||
@ -1520,6 +1520,8 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
opening: function () {
|
opening: function () {
|
||||||
this.parent.opening.apply(this, arguments);
|
this.parent.opening.apply(this, arguments);
|
||||||
this.focusser.attr("disabled", "disabled");
|
this.focusser.attr("disabled", "disabled");
|
||||||
|
|
||||||
|
this.opts.element.trigger($.Event("open"));
|
||||||
},
|
},
|
||||||
|
|
||||||
// single
|
// single
|
||||||
@ -2117,6 +2119,8 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
this.clearPlaceholder();
|
this.clearPlaceholder();
|
||||||
this.resizeSearch();
|
this.resizeSearch();
|
||||||
this.focusSearch();
|
this.focusSearch();
|
||||||
|
|
||||||
|
this.opts.element.trigger($.Event("open"));
|
||||||
},
|
},
|
||||||
|
|
||||||
// multi
|
// multi
|
||||||
|
Loading…
Reference in New Issue
Block a user