瀏覽代碼

close on tab-out. fixes #1341

Igor Vaynberg 12 年之前
父節點
當前提交
efc609d073
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);