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 2014-12-17 14:08:43 -05:00
1 parent 948a1f1c99
commit 96b213e274
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();
}]
}
})