small fix for #1604
This commit is contained in:
parent
00ba1bddfa
commit
2400357d59
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user