Editor tags component change ng-if to ng-show

This commit is contained in:
Mo Bitar
2017-08-22 18:29:21 -05:00
parent 827a593621
commit e3ba15c684
3 changed files with 6 additions and 1 deletions

View File

@@ -11,6 +11,8 @@ class ComponentManager {
this.contextStreamObservers = [];
this.activeComponents = [];
// this.loggingEnabled = true;
this.permissionDialogs = [];
this.handlers = [];

View File

@@ -143,6 +143,9 @@ class DBManager {
console.log("Database deleted successfully");
callback();
};
deleteRequest.onblock = function(event) {
callback();
};
}
}

View File

@@ -1,5 +1,5 @@
.section.editor{"ng-class" => "{'fullscreen' : ctrl.fullscreen}"}
#editor-title-bar.section-title-bar{"ng-if" => "ctrl.note && !ctrl.note.errorDecrypting", "ng-class" => "{'fullscreen' : ctrl.fullscreen }"}
#editor-title-bar.section-title-bar{"ng-show" => "ctrl.note && !ctrl.note.errorDecrypting", "ng-class" => "{'fullscreen' : ctrl.fullscreen }"}
.title
%input.input#note-title-editor{"ng-model" => "ctrl.note.title", "ng-keyup" => "$event.keyCode == 13 && ctrl.saveTitle($event)",
"ng-change" => "ctrl.nameChanged()", "ng-focus" => "ctrl.onNameFocus()",