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
2014-12-17 14:08:43 -05:00
parent 533d7110c7
commit 3aec2828b4
5 changed files with 40 additions and 26 deletions
+1 -1
View File
@@ -96,7 +96,7 @@
return _find(stateAccount.$mailboxes);
}],
stateMessages: ['stateMailbox', function(stateMailbox) {
return stateMailbox.$update();
return stateMailbox.$reload();
}]
}
})