Improve JavaScript of Mail module

- activated file uploader of mail editor
- renamed method $update to $reload
- automatically mark messages as read
- use ui-sref-active from ui-router instead of ng-class
This commit is contained in:
Francis Lachapelle committed 2015-06-11 15:42:34 -04:00
1 parent 533d7110c7
commit 3aec2828b4
5 files changed
+40 -26

No files matched your search

+1 -1
View File
@@ -96,7 +96,7 @@
return _find(stateAccount.$mailboxes);
}],
stateMessages: ['stateMailbox', function(stateMailbox) {
return stateMailbox.$update();
return stateMailbox.$reload();
}]
}
})