mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-04 23:00:23 +00:00
add open and close as noop for people who might be looping over their selects and to self document the methods for extension
This commit is contained in:
parent
219b450c5a
commit
f1fef48239
1 changed files with 5 additions and 0 deletions
|
|
@ -199,6 +199,11 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
|
|||
this.setButtonCount();
|
||||
},
|
||||
|
||||
// open and close preserved in native selects
|
||||
// to simplify users code when looping over selects
|
||||
open: $.noop,
|
||||
close: $.noop,
|
||||
|
||||
disable: function() {
|
||||
this._setDisabled( true );
|
||||
this.button.addClass( "ui-disabled" );
|
||||
|
|
|
|||
Loading…
Reference in a new issue