mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-11 16:28:51 +00:00
(js) Don't try to select "noselect" mailbox
This commit is contained in:
@@ -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