zulip/web
Trident Pancake e52eee330c message_edit: Avoid registering duplicate events.
Fixes #25462.

hotkey.js is the file that handles the 'e' keyboard shortcut. It maps to the
'edit_message' event and will simply call message_edit.start().

message_edit.start() doesn't check whether it's already been opened previously,
so it will go through and try to register handler for the clipboard button
again. When the clipboard button gets clicked, the handler will be called
twice. Once with a properly target element, and once with null.

Fix this issue by checking if message_edit.start() has already operated on
the given $row.
2023-05-10 14:09:19 -07:00
..
e2e-tests compose: Use tippy for stream select dropdown. 2023-05-09 14:11:26 -07:00
generated web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
html web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
images compose: Add DM icon to the recipient dropdown. 2023-04-27 17:04:19 -07:00
shared ts: Convert resolved_topic.js to TypeScript. 2023-05-01 10:55:36 -07:00
src message_edit: Avoid registering duplicate events. 2023-05-10 14:09:19 -07:00
styles dropdown_widget: Show "No search results" instead of an empty list. 2023-05-10 12:00:18 -07:00
templates dropdown_widget: Show "No search results" instead of an empty list. 2023-05-10 12:00:18 -07:00
tests message_store: Keep track of wildcard_mentioned. 2023-05-09 23:05:04 -07:00
third bootstrap: Remove unused stylings for btn-info. 2023-05-10 12:10:14 -07:00
.browserslistrc webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
.gitignore web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
babel.config.js dependencies: Upgrade JavaScript dependencies. 2023-04-25 22:18:48 -07:00
debug-require-webpack-plugin.ts web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
debug-require.js web: Move web app to ‘web’ directory. 2023-02-23 16:04:17 -08:00
postcss.config.js postcss: Enable postcss-preset-env. 2023-03-20 11:26:30 -07:00
webpack.assets.json webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
webpack.config.ts static: Add Timing-Allow-Origin: * to allow sentry data timing. 2023-05-09 13:16:28 -07:00
webpack.dev-assets.json webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00