mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-11 00:14:50 +03:00
Small bugfix for the folder editor popup
This commit is contained in:
parent
72b481f9c4
commit
72815f842e
3 changed files with 4 additions and 10 deletions
|
|
@ -13,8 +13,8 @@ export class FolderPopupView extends AbstractViewPopup {
|
|||
this.ACL = ko.observableArray();
|
||||
}
|
||||
|
||||
onClose() {
|
||||
this.folder().unedit();
|
||||
afterHide() {
|
||||
this.folder().editing(false);
|
||||
}
|
||||
|
||||
submitForm(form) {
|
||||
|
|
@ -32,7 +32,7 @@ export class FolderPopupView extends AbstractViewPopup {
|
|||
}, {
|
||||
folder: folder.fullName
|
||||
});
|
||||
!folder.type() && folder.exists && folder.selectable() && folder.editing(true);
|
||||
folder.editing(!folder.type() && folder.exists && folder.selectable());
|
||||
this.folder(folder);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue