mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
admin: Remove values from emoji form input on success.
This removes the values after successfully creating a new realm emoji.
This commit is contained in:
committed by
Tim Abbott
parent
bdd20f6b8b
commit
fd9a3f4609
@@ -721,6 +721,7 @@ function _setup_page() {
|
||||
success: function () {
|
||||
$('#admin-emoji-status').hide();
|
||||
ui.report_success(i18n.t("Custom emoji added!"), emoji_status);
|
||||
$("form.admin-emoji-form input[type='text']").val("");
|
||||
},
|
||||
error: function (xhr, error) {
|
||||
$('#admin-emoji-status').hide();
|
||||
|
||||
Reference in New Issue
Block a user