Permalink
Browse files

Selectmenu: Do not focus upon blur

Fixes gh-6028
Fixes gh-3184
Closes gh-7903
  • Loading branch information...
gabrielschulhof committed Jan 6, 2015
1 parent a61d152 commit e9e3b56192cc978eb066b9fff3d4548218768e48
Showing with 3 additions and 11 deletions.
  1. +3 −11 js/widgets/forms/select.js
View
@@ -107,9 +107,7 @@ $.widget( "mobile.selectmenu", $.extend( {
this.button = this._button();
var self = this,
options = this.options,
var options = this.options,
iconpos = options.icon ? ( options.iconpos || this.select.jqmData( "iconpos" ) ) : false,
@@ -147,14 +145,8 @@ $.widget( "mobile.selectmenu", $.extend( {
}
// Events on native select
this.select.change(function() {
self.refresh();
if ( !!options.nativeMenu ) {
self._delay( function() {
self.select.blur();
});
}
this._on( this.select, {
change: "refresh"
});
this._handleFormReset();

0 comments on commit e9e3b56

Please sign in to comment.