Fixed undefined this.autofocus on destroy while creating on element that already have select2 applied
This commit is contained in:
parent
5762b85dd2
commit
a957ed81fd
@ -756,7 +756,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
.removeData("select2")
|
.removeData("select2")
|
||||||
.unbind(".select2")
|
.unbind(".select2")
|
||||||
.attr({"tabindex": this.elementTabIndex})
|
.attr({"tabindex": this.elementTabIndex})
|
||||||
.prop("autofocus", this.autofocus)
|
.prop("autofocus", this.autofocus||false)
|
||||||
.show();
|
.show();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user