mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-02 15:45:33 +00:00
fix(mail(js)): reset mailboxes state when leaving global search
This commit is contained in:
1 parent
ab38b1d6c4
commit
642db852c7
4 files changed
+38
-27
No files matched your search
@@ -399,4 +399,15 @@
|
||||
return true;
|
||||
};
|
||||
|
||||
/**
|
||||
* @function $reset
|
||||
* @memberof VirtualMailbox.prototype
|
||||
* @desc Reset the original state all mailboxes data.
|
||||
*/
|
||||
VirtualMailbox.prototype.$reset = function(options) {
|
||||
_.forEach(this.$mailboxes, function(mailbox) {
|
||||
mailbox.$reset(options);
|
||||
});
|
||||
};
|
||||
|
||||
})();
|
||||
Reference in new issue
Block a user