zulip/web
Lalit 1676d0b638 settings_emoji: Fix file upload bug in upload emoji modal.
Before this commit if a user pressed enter to submit the add emoji form
the uploaded emoji was getting cleared.

This was happening because when we pressed enter the browser tried to
submit the form, because we had two buttons inside that form one for
clearing uploaded emoji and one for uploading emoji they were being
treated as "submit" button and hence their callback ran which in result
was responsible for the bug.

Fixed this by explicitly setting the `type` attribute for those buttons
to `type=button` so that they will not be treated as "submit" button.
Also added the `form_id` option for `dialog_widget` which is needed if
we do want to correctly submit the form by pressing enter.

Fixes: #24972
2023-06-29 10:16:28 -07:00
..
e2e-tests web-e2e-tests: Update references to "private message" and "PM". 2023-06-26 11:07:28 -07:00
generated
html
images compose: Add DM icon to the recipient dropdown. 2023-04-27 17:04:19 -07:00
shared web-shared: Update references to "private message" and "PM". 2023-06-26 11:07:28 -07:00
src settings_emoji: Fix file upload bug in upload emoji modal. 2023-06-29 10:16:28 -07:00
styles navbar: Fix background-color inconsistency in dark theme. 2023-06-27 11:28:49 -07:00
templates settings_emoji: Fix file upload bug in upload emoji modal. 2023-06-29 10:16:28 -07:00
tests server-events: Remove unused home_view_loaded.zulip event trigger. 2023-06-27 18:04:04 -07:00
third bootstrap: Remove bootstrap CSS for url type inputs. 2023-06-23 11:53:38 -07:00
.browserslistrc webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
.gitignore
babel.config.js dependencies: Upgrade JavaScript dependencies. 2023-04-25 22:18:48 -07:00
debug-require-webpack-plugin.ts
debug-require.js
postcss.config.js postcss: Enable postcss-preset-env. 2023-03-20 11:26:30 -07:00
webpack.assets.json ts: Convert `web/src/billing` module to TypeScript. 2023-06-23 11:42:29 -07:00
webpack.config.ts dependencies: Upgrade JavaScript dependencies. 2023-06-05 21:51:26 -07:00
webpack.dev-assets.json webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00