Fix for #6315 where the loading banner continues to display if there is no current editor state
This commit is contained in:
committed by
Sebastiaan Janssen
parent
5c82968829
commit
ce0833719b
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user