Przeglądaj źródła

close on tab-out. fixes #1341

Igor Vaynberg 12 lat temu
rodzic
commit
efc609d073
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      select2.js

+ 1 - 0
select2.js

@@ -2421,6 +2421,7 @@ the specific language governing permissions and limitations under the Apache Lic
                         return;
                     case KEY.TAB:
                         this.selectHighlighted({noFocus:true});
+                        this.close();
                         return;
                     case KEY.ESC:
                         this.cancel(e);