From e5c5a3be15897961656bbb6bc98894fbabb68a46 Mon Sep 17 00:00:00 2001 From: Shaunak Kashyap Date: Wed, 6 Jul 2016 03:38:39 -0700 Subject: [PATCH] Remove notification parameters from query string after triggering notification --- src/core_plugins/kibana/public/kibana.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core_plugins/kibana/public/kibana.js b/src/core_plugins/kibana/public/kibana.js index 63cd2ac289a3..4c05d4684a4f 100644 --- a/src/core_plugins/kibana/public/kibana.js +++ b/src/core_plugins/kibana/public/kibana.js @@ -53,6 +53,10 @@ function showNotifier($location) { const config = queryString.notif_loc ? { location: queryString.notif_loc } : {}; const level = queryString.notif_lvl || 'info'; + $location.search('notif_msg', null); + $location.search('notif_loc', null); + $location.search('notif_lvl', null); + const notifier = new Notifier(config); notifier[level](message); }