zulip/static
Priyank Patel 94459f1425 dropdown_list_widget: Use e.key instead of deprecated e.keyCode.
We use e.key for our side of code and still pass e.keyCode and
e.which to the custom jQuery event we trigger. The event is handled
by our patched copy of outdated bootstrap and it still requires the
e.keyCode and e.which properties.

One of the places this widget is used is in the settings panel, at
Manage Organization > Organization Settings > Notifications > New
stream notifications. One of the handler is attached to the
dropdown menu items that shows up when you click the "#announce"
button. The other one is attached to the search button. The second
one triggers the custom jQuery event and passes the event data to
bootstrap unless the Up & Down arrow or Esacape is used. The first
event handler handles the Enter click on one of the items and saves
it. Verified that the widget works as expected.
2021-06-02 14:04:53 -07:00
..
assets zulip-icon: Add `zulip-icon` as classPrefix for icon. 2021-04-29 09:02:25 -07:00
audio notificaiton_sounds: Add some atonal sounds created by @stwime. 2021-02-05 12:28:20 -08:00
generated
html templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
images integrations: Add Freshstatus webhook integration. 2021-05-27 23:38:11 -07:00
js dropdown_list_widget: Use e.key instead of deprecated e.keyCode. 2021-06-02 14:04:53 -07:00
shared docs: Correct “webapp” to “web app”. 2021-05-14 13:15:38 -07:00
styles recent_topics: Optimize for mobile devices. 2021-06-01 08:32:06 -07:00
templates static: Fix the incorrect warning message when unsubscribing from stream. 2021-06-01 14:58:47 -07:00
third minor: Simplify `usermention` regex and properly use capturing groups. 2021-05-20 11:35:04 -07:00
.gitignore dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00