zulip/web/templates/settings
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
..
account_settings.hbs
add_alert_word.hbs modals: Add modal_text_input class to text inputs. 2023-03-27 22:34:30 -07:00
add_emoji.hbs settings_emoji: Fix file upload bug in upload emoji modal. 2023-06-29 10:16:28 -07:00
add_new_bot_form.hbs settings: Rename "Full name" label to "Name" in bot modals. 2023-05-29 08:47:09 -07:00
add_new_custom_profile_field_form.hbs bootstrap: Remove bootstrap CSS for url type inputs. 2023-06-23 11:53:38 -07:00
add_user_group_modal.hbs modals: Add modal_text_input class to text inputs. 2023-03-27 22:34:30 -07:00
admin_auth_methods_list.hbs
admin_default_streams_list.hbs
admin_emoji_list.hbs
admin_export_list.hbs realm_export: Do not assume null extra_data is special. 2023-05-16 14:05:01 -07:00
admin_human_form.hbs settings: Add modal_text_input class to inputs in "Manage user" modal. 2023-04-03 16:59:51 -07:00
admin_invites_list.hbs
admin_linkifier_edit_form.hbs settings: Use url_template for internal names. 2023-04-19 12:20:49 -07:00
admin_linkifier_list.hbs settings: Use url_template for internal names. 2023-04-19 12:20:49 -07:00
admin_playground_list.hbs
admin_profile_field_list.hbs
admin_realm_domains_list.hbs
admin_settings_modals.hbs
admin_tab.hbs
admin_user_group_list.hbs
admin_user_list.hbs admin_user_list: Convert tooltips to Tippy. 2023-06-13 16:47:16 -07:00
alert_word_settings.hbs
alert_word_settings_item.hbs
api_key_modal.hbs modal: Remove modal_text_input class from password and url type inputs. 2023-06-23 11:53:38 -07:00
attachments_settings.hbs
auth_methods_settings_admin.hbs
bot_avatar_row.hbs bot_profile_card: Convert tooltips to Tippy. 2023-06-13 16:47:01 -07:00
bot_list_admin.hbs bots: Improve bots permission banner. 2023-03-09 17:52:31 -08:00
bot_settings.hbs web: Save a needless 301 redirect from /integrations to /integrations/. 2023-03-24 14:51:01 -07:00
bot_settings_tip.hbs settings: Reword permissions notice banners. 2023-04-10 16:28:12 -07:00
custom_user_profile_field.hbs settings: Remove settings_text_input class from url type inputs. 2023-06-23 11:53:38 -07:00
data_exports_admin.hbs templates: Update instances of "private message" to "direct message". 2023-06-12 10:54:58 -07:00
deactivated_users_admin.hbs settings: Remove id column from user and deactivated user lists. 2023-06-07 12:01:18 -07:00
default_streams_list_admin.hbs settings: Add settings_text_input class to text inputs. 2023-03-27 22:34:30 -07:00
dev_env_email_access.hbs
display_settings.hbs user_setting: Update wording for "Mark messages as read on scroll" setting. 2023-05-08 15:49:47 -07:00
dropdown_list.hbs compose: Add DM icon to the recipient dropdown. 2023-04-27 17:04:19 -07:00
dropdown_list_widget.hbs
dropdown_options_widget.hbs
edit_bot_form.hbs settings: Rename "Full name" label to "Name" in bot modals. 2023-05-29 08:47:09 -07:00
edit_custom_profile_field_form.hbs bootstrap: Remove bootstrap CSS for url type inputs. 2023-06-23 11:53:38 -07:00
edit_embedded_bot_service.hbs modals: Add modal_text_input class to text inputs. 2023-03-27 22:34:30 -07:00
edit_outgoing_webhook_service.hbs modals: Add modal_text_input class to text inputs. 2023-03-27 22:34:30 -07:00
emoji_settings_admin.hbs settings: Hide "Add a new emoji" button for unauthorized users. 2023-05-05 16:22:24 -07:00
emoji_settings_tip.hbs settings: Reword permissions notice banners. 2023-04-10 16:28:12 -07:00
image_upload_widget.hbs
invites_list_admin.hbs invite_user: Convert overlay to `dialog_widget`. 2023-02-26 18:37:05 -08:00
language_selection_widget.hbs templates: Remove references to undefined fields. 2023-03-22 17:10:28 -07:00
linkifier_settings_admin.hbs settings: Use url_template for internal names. 2023-04-19 12:20:49 -07:00
muted_users_settings.hbs
notification_settings.hbs settings: Add a "Followed topics" row to Notification Triggers table. 2023-06-13 18:01:41 -07:00
notification_settings_checkboxes.hbs
organization_permissions_admin.hbs settings: Point the "moving messages" help link to the right place. 2023-03-31 14:49:25 -07:00
organization_profile_admin.hbs settings: Add settings_text_input class to text inputs. 2023-03-27 22:34:30 -07:00
organization_settings_admin.hbs settings: Move setting to allow message content in email notifications. 2023-05-02 13:42:38 -07:00
organization_settings_tip.hbs
organization_user_settings_defaults.hbs
playground_settings_admin.hbs settings_playground: Fix sorting issues in playgrounds table. 2023-05-22 09:36:24 -07:00
profile_field_choice.hbs
profile_field_settings_admin.hbs
profile_settings.hbs settings: Add settings_text_input class to text inputs. 2023-03-27 22:34:30 -07:00
realm_domains_modal.hbs modals: Add modal_text_input class to text inputs. 2023-03-27 22:34:30 -07:00
settings_checkbox.hbs templates: Remove references to undefined fields. 2023-03-22 17:10:28 -07:00
settings_save_discard_widget.hbs
stream_specific_notification_row.hbs recipient_row: Set color of privacy icon as a shade of stream color. 2023-04-10 23:41:30 -07:00
upgrade_tip_widget.hbs web: Save a needless 301 redirect from /upgrade to /upgrade/. 2023-03-24 14:51:01 -07:00
upload_space_stats.hbs web: Save a needless 301 redirect from /upgrade to /upgrade/. 2023-03-24 14:51:01 -07:00
uploaded_files_list.hbs
user_display_settings.hbs
user_groups_admin.hbs settings: Reword permissions notice banners. 2023-04-10 16:28:12 -07:00
user_list_admin.hbs settings: Remove id column from user and deactivated user lists. 2023-06-07 12:01:18 -07:00
user_notification_settings.hbs
user_topics_settings.hbs user_topics: Rename 'muted_topics_settings.hbs'. 2023-04-25 12:46:05 -07:00