1
0
mirror of synced 2025-02-04 06:09:23 +03:00

Merge pull request #377 from pmirshad/master

Tabbing out doesn't put placeholder back on input tags with multiple=true and no value selected
This commit is contained in:
Igor Vaynberg 2012-09-04 17:25:45 -07:00
commit e5a2824fae

View File

@ -1865,8 +1865,11 @@
this.search.bind("keyup", this.bind(this.resizeSearch));
this.search.bind("blur", this.bind(function() {
this.search.bind("blur", this.bind(function(e) {
this.container.removeClass("select2-container-active");
this.search.removeClass("select2-focused");
this.clearSearch();
e.stopImmediatePropagation();
}));
this.container.delegate(selector, "mousedown", this.bind(function (e) {