Skip to content

Commit

Permalink
Fix for #6315 where the loading banner continues to display if there …
Browse files Browse the repository at this point in the history
…is no current editor state
  • Loading branch information
Rachel Breeze authored and nul800sebastiaan committed Oct 31, 2019
1 parent 5c82968 commit ce08337
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,13 @@ Use this directive to construct a header inside the main editor window.
if (scope.editorfor) {
localizeVars.push(scope.editorfor);
}
localizationService.localizeMany(localizeVars).then(function (data) {
localizationService.localizeMany(localizeVars).then(function(data) {
setAccessibilityForEditor(data);
scope.loading = false;
});
} else {
scope.loading = false;
}

scope.goBack = function () {
if (scope.onBack) {
scope.onBack();
Expand Down

0 comments on commit ce08337

Please sign in to comment.