mirror of https://github.com/zulip/zulip.git
org settings: Clear input fields of filter settings on success.
This commit is contained in:
parent
a3d8cc1f86
commit
233e1b4b1b
|
@ -84,6 +84,8 @@ exports.set_up = function () {
|
|||
url: "/json/realm/filters",
|
||||
data: $(this).serialize(),
|
||||
success: function (data) {
|
||||
$('#filter_pattern').val('');
|
||||
$('#filter_format_string').val('');
|
||||
filter.id = data.id;
|
||||
ui_report.success(i18n.t("Custom filter added!"), filter_status);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue