1
0
mirror of synced 2024-11-30 00:26:03 +03:00

Merge pull request #1111 from lazyhammer/fix-choice-focus

Fix focus issue on multi-value select (closes #1109)
This commit is contained in:
Igor Vaynberg 2013-03-28 08:53:45 -07:00
commit d3fc101ccb

View File

@ -2194,6 +2194,7 @@ the specific language governing permissions and limitations under the Apache Lic
this.search.bind("blur", this.bind(function(e) {
this.container.removeClass("select2-container-active");
this.search.removeClass("select2-focused");
this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");
if (!this.opened()) this.clearSearch();
e.stopImmediatePropagation();
}));