mirror of https://github.com/zulip/zulip.git
1676d0b638
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 |
||
---|---|---|
.. | ||
account_settings.hbs | ||
add_alert_word.hbs | ||
add_emoji.hbs | ||
add_new_bot_form.hbs | ||
add_new_custom_profile_field_form.hbs | ||
add_user_group_modal.hbs | ||
admin_auth_methods_list.hbs | ||
admin_default_streams_list.hbs | ||
admin_emoji_list.hbs | ||
admin_export_list.hbs | ||
admin_human_form.hbs | ||
admin_invites_list.hbs | ||
admin_linkifier_edit_form.hbs | ||
admin_linkifier_list.hbs | ||
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 | ||
alert_word_settings.hbs | ||
alert_word_settings_item.hbs | ||
api_key_modal.hbs | ||
attachments_settings.hbs | ||
auth_methods_settings_admin.hbs | ||
bot_avatar_row.hbs | ||
bot_list_admin.hbs | ||
bot_settings.hbs | ||
bot_settings_tip.hbs | ||
custom_user_profile_field.hbs | ||
data_exports_admin.hbs | ||
deactivated_users_admin.hbs | ||
default_streams_list_admin.hbs | ||
dev_env_email_access.hbs | ||
display_settings.hbs | ||
dropdown_list.hbs | ||
dropdown_list_widget.hbs | ||
dropdown_options_widget.hbs | ||
edit_bot_form.hbs | ||
edit_custom_profile_field_form.hbs | ||
edit_embedded_bot_service.hbs | ||
edit_outgoing_webhook_service.hbs | ||
emoji_settings_admin.hbs | ||
emoji_settings_tip.hbs | ||
image_upload_widget.hbs | ||
invites_list_admin.hbs | ||
language_selection_widget.hbs | ||
linkifier_settings_admin.hbs | ||
muted_users_settings.hbs | ||
notification_settings.hbs | ||
notification_settings_checkboxes.hbs | ||
organization_permissions_admin.hbs | ||
organization_profile_admin.hbs | ||
organization_settings_admin.hbs | ||
organization_settings_tip.hbs | ||
organization_user_settings_defaults.hbs | ||
playground_settings_admin.hbs | ||
profile_field_choice.hbs | ||
profile_field_settings_admin.hbs | ||
profile_settings.hbs | ||
realm_domains_modal.hbs | ||
settings_checkbox.hbs | ||
settings_save_discard_widget.hbs | ||
stream_specific_notification_row.hbs | ||
upgrade_tip_widget.hbs | ||
upload_space_stats.hbs | ||
uploaded_files_list.hbs | ||
user_display_settings.hbs | ||
user_groups_admin.hbs | ||
user_list_admin.hbs | ||
user_notification_settings.hbs | ||
user_topics_settings.hbs |