mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-14 16:07:15 +00:00
(js) Don't try to select "noselect" mailbox
This commit is contained in:
1 parent
7874b0a74c
commit
1d90aa748d
1 file changed
+1
-2
@@ -59,7 +59,6 @@
|
||||
|
||||
this.$onInit = function() {
|
||||
this.$element = $element;
|
||||
this.service = Mailbox;
|
||||
this.editMode = false;
|
||||
this.accountController.addMailboxController(this);
|
||||
};
|
||||
@@ -84,7 +83,7 @@
|
||||
|
||||
|
||||
this.selectFolder = function($event) {
|
||||
if (this.editMode || this.mailbox == Mailbox.selectedFolder)
|
||||
if (this.editMode || this.mailbox == Mailbox.selectedFolder || this.mailbox.isNoSelect())
|
||||
return;
|
||||
Mailbox.$virtualPath = false;
|
||||
Mailbox.$virtualMode = false;
|
||||
|
||||
Reference in new issue
Block a user