1
0
mirror of synced 2025-03-11 15:16:09 +03:00

Fix focus on select

Focus should go back to select2-focusser, not select2-choice.
This commit is contained in:
cnanney 2013-09-06 18:57:41 -05:00
parent 49c8b6cf50
commit 3b54482522

View File

@ -2225,7 +2225,7 @@ the specific language governing permissions and limitations under the Apache Lic
this.close();
if (!options || !options.noFocus)
this.selection.focus();
this.focusser.focus();
if (!equal(old, this.id(data))) { this.triggerChange({added:data,removed:oldData}); }
},