Editor tags component change ng-if to ng-show
This commit is contained in:
@@ -11,6 +11,8 @@ class ComponentManager {
|
|||||||
this.contextStreamObservers = [];
|
this.contextStreamObservers = [];
|
||||||
this.activeComponents = [];
|
this.activeComponents = [];
|
||||||
|
|
||||||
|
// this.loggingEnabled = true;
|
||||||
|
|
||||||
this.permissionDialogs = [];
|
this.permissionDialogs = [];
|
||||||
|
|
||||||
this.handlers = [];
|
this.handlers = [];
|
||||||
|
|||||||
@@ -143,6 +143,9 @@ class DBManager {
|
|||||||
console.log("Database deleted successfully");
|
console.log("Database deleted successfully");
|
||||||
callback();
|
callback();
|
||||||
};
|
};
|
||||||
|
deleteRequest.onblock = function(event) {
|
||||||
|
callback();
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.section.editor{"ng-class" => "{'fullscreen' : ctrl.fullscreen}"}
|
.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
|
.title
|
||||||
%input.input#note-title-editor{"ng-model" => "ctrl.note.title", "ng-keyup" => "$event.keyCode == 13 && ctrl.saveTitle($event)",
|
%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()",
|
"ng-change" => "ctrl.nameChanged()", "ng-focus" => "ctrl.onNameFocus()",
|
||||||
|
|||||||
Reference in New Issue
Block a user