org settings: Clear input fields of filter settings on success.

This commit is contained in:
Shubham Dhama 2018-03-16 01:58:19 +05:30 committed by Tim Abbott
parent a3d8cc1f86
commit 233e1b4b1b
1 changed files with 2 additions and 0 deletions

View File

@ -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);
},