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