diff --git a/contribs/gmf/src/controllers/abstract.js b/contribs/gmf/src/controllers/abstract.js index 09482b1ef551..528d635f76ce 100644 --- a/contribs/gmf/src/controllers/abstract.js +++ b/contribs/gmf/src/controllers/abstract.js @@ -144,14 +144,15 @@ gmf.AbstractController = function(config, $scope, $injector) { } }); - // Reload theme and background layer when login status changes. + // Reload theme when login status changes. const previousThemeName = this.gmfThemeManager.getThemeName(); this.gmfThemeManager.setThemeName('', true); if (evt.type !== gmf.AuthenticationEventType.READY) { this.updateCurrentTheme_(previousThemeName); } - // Reload themes when login status changes. + // Reload themes and background layer when login status changes. this.gmfThemes_.loadThemes(roleId); + this.setDefaultBackground_(null); this.updateHasEditableLayers_(); };