mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-09 13:57:12 +00:00
fix(addressbook): Fix asynchronous selection of contacts - cards are not added as they're not yet loaded.
This commit is contained in:
1 parent
807622dd53
commit
1df2586745
1 file changed
+2
-1
@@ -414,7 +414,8 @@
|
||||
recipients.push(card.$shortFormat());
|
||||
}
|
||||
}
|
||||
else if (selectedFolder.$loadCard(card)) {
|
||||
else {
|
||||
selectedFolder.$loadCard(card);
|
||||
promises.push(selectedFolder.$futureHeadersData.then(function() {
|
||||
var i = selectedFolder.idsMap[card.id];
|
||||
if (angular.isDefined(i)) {
|
||||
|
||||
Reference in new issue
Block a user