Merge pull request #1284 from foxel/master
this.autofocus is undefined on destroy inside init
This commit is contained in:
commit
3d4595c834
1 changed files with 1 additions and 1 deletions
|
@ -756,7 +756,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||
.removeData("select2")
|
||||
.unbind(".select2")
|
||||
.attr({"tabindex": this.elementTabIndex})
|
||||
.prop("autofocus", this.autofocus)
|
||||
.prop("autofocus", this.autofocus||false)
|
||||
.show();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue