From a7256372e26a3f1ad839bde93a6b73508ab8dfb6 Mon Sep 17 00:00:00 2001 From: Howard Gao Date: Wed, 17 Oct 2018 20:15:17 +0800 Subject: [PATCH] ARTEMIS-2133 Artemis tab not showing on IE browser The web console on IE doesn't have 'Artemis' showed up because it doesn't support javascripts => function. (cherry picked from commit 7c699ff46bedb61c5e9193c39925bdd0ad881427) --- .../artemis-plugin/src/main/webapp/plugin/js/artemisPlugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/artemisPlugin.js b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/artemisPlugin.js index d58ef82c6a1..9ffa6b2ca8a 100644 --- a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/artemisPlugin.js +++ b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/artemisPlugin.js @@ -362,7 +362,7 @@ var ARTEMIS = (function(ARTEMIS) { workspace.subLevelTabs = subLevelTabs; - preLogoutTasks.addTask("clearArtemisCredentials", () => { + preLogoutTasks.addTask("clearArtemisCredentials", function () { localStorage.removeItem('artemisUserName'); localStorage.removeItem('artemisPassword'); });