From 233e1b4b1be3b11272826080532b2feefa973651 Mon Sep 17 00:00:00 2001 From: Shubham Dhama Date: Fri, 16 Mar 2018 01:58:19 +0530 Subject: [PATCH] org settings: Clear input fields of filter settings on success. --- static/js/settings_filters.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/settings_filters.js b/static/js/settings_filters.js index 3971c204c6..136fcd7ad8 100644 --- a/static/js/settings_filters.js +++ b/static/js/settings_filters.js @@ -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); },