1
0
mirror of synced 2024-11-26 06:46:04 +03:00

Also check if search input should be focussed for multiselects

This commit is contained in:
Lee Boynton 2014-03-31 21:01:06 +01:00
parent ed0bae39c9
commit 2d6b74c2ac

View File

@ -2827,7 +2827,9 @@ the specific language governing permissions and limitations under the Apache Lic
}
this.updateResults(true);
this.search.focus();
if (this.opts.shouldFocusInput(this)) {
this.search.focus();
}
this.opts.element.trigger($.Event("select2-open"));
},