(js) Fix issues with the mail advanced search

- fixed loading of headers when scrolling the virtual repeater;
- fixed viewing a single message;
- fixed search from a mailbox that contains subfolders.
This commit is contained in:
Francis Lachapelle committed 2015-09-14 14:58:00 -04:00
1 parent e30fb0d1fb
commit 47ab4b837c
4 files changed
+57 -26

No files matched your search

@@ -10,8 +10,7 @@
function MailboxController($state, $timeout, $mdDialog, stateAccounts, stateAccount, stateMailbox, encodeUriFilter, focus, Dialog, Account, Mailbox) {
var vm = this, messageDialog = null;
if (!Mailbox.$virtualMode)
Mailbox.selectedFolder = stateMailbox;
Mailbox.selectedFolder = stateMailbox;
vm.service = Mailbox;
vm.accounts = stateAccounts;