mirror of https://github.com/zulip/zulip.git
[third] Make tab move to the next field without autocompleting
(imported from commit 232d3662a0a910d8056ba838d7f07c8e774b23a1)
This commit is contained in:
parent
ed1caec147
commit
7e3536960a
|
@ -1811,6 +1811,8 @@
|
|||
|
||||
switch(e.keyCode) {
|
||||
case 9: // tab
|
||||
break
|
||||
|
||||
case 13: // enter
|
||||
case 27: // escape
|
||||
e.preventDefault()
|
||||
|
@ -1847,6 +1849,8 @@
|
|||
break
|
||||
|
||||
case 9: // tab
|
||||
break
|
||||
|
||||
case 13: // enter
|
||||
if (!this.shown) return
|
||||
this.select()
|
||||
|
@ -2024,4 +2028,4 @@
|
|||
})
|
||||
|
||||
|
||||
}(window.jQuery);
|
||||
}(window.jQuery);
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue