diff --git a/artemis-hawtio/activemq-branding/src/main/webapp/plugin/js/plugin.js b/artemis-hawtio/activemq-branding/src/main/webapp/plugin/js/plugin.js index 03880536b7..9785105f4e 100644 --- a/artemis-hawtio/activemq-branding/src/main/webapp/plugin/js/plugin.js +++ b/artemis-hawtio/activemq-branding/src/main/webapp/plugin/js/plugin.js @@ -59,10 +59,14 @@ var activemqBranding = (function (self) { self.module = angular.module(self.pluginName, ['hawtioCore']); self.module.run(function (branding) { - self.log.debug("ActivMQ theme loaded"); + self.log.info("ActiveMQ theme loaded"); + if (localStorage['theme'] != 'activemq' || localStorage['branding'] != 'activemq') { + localStorage['theme'] = 'activemq'; + localStorage['branding'] = 'activemq'; + location.reload(); + } }); - - hawtioPluginLoader.addModule(self.pluginName); return self; })(activemqBranding || {}); +hawtioPluginLoader.addModule(activemqBranding.pluginName);