1
0
mirror of synced 2025-02-09 16:49:24 +03:00

trigger blur handlers on source element when select2 is blurred

This commit is contained in:
Igor Vaynberg 2012-09-19 19:37:58 -07:00
parent 93ed30d67a
commit 2027c0cebf

View File

@ -1297,6 +1297,7 @@
if (this.search[0] === document.activeElement) { this.search.blur(); }
this.clearSearch();
this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");
this.opts.element.triggerHandler("blur");
},
// abstract