Improve view detail (messages, cards)

This commit is contained in:
Francis Lachapelle committed 2015-08-27 13:37:47 -04:00
1 parent bba0d6f44d
commit 3611c4021d
7 files changed
+52 -17

No files matched your search

@@ -88,9 +88,10 @@
}
}
function close() {
vm.card = null;
delete AddressBook.selectedFolder.selectedCard;
$state.go('app.addressbook', { addressbookId: AddressBook.selectedFolder.id });
$state.go('app.addressbook', { addressbookId: AddressBook.selectedFolder.id }).then(function() {
vm.card = null;
delete AddressBook.selectedFolder.selectedCard;
});
}
function reset() {
vm.card.$reset();