1
0
mirror of synced 2025-02-21 14:33:15 +03:00

small fix for #1604

This commit is contained in:
Igor Vaynberg 2013-08-09 16:38:23 -07:00
parent 00ba1bddfa
commit 2400357d59

View File

@ -2212,7 +2212,7 @@ the specific language governing permissions and limitations under the Apache Lic
this.opts.element.trigger({ type: "select2-selected", val: this.id(data), choice: data }); this.opts.element.trigger({ type: "select2-selected", val: this.id(data), choice: data });
this.nextSearchTerm=this.opts.nextSearchTerm(data, data.text); this.nextSearchTerm = this.opts.nextSearchTerm(data, this.search.val());
this.close(); this.close();
if (!options || !options.noFocus) if (!options || !options.noFocus)