(js) Fix loading of card from global addressbooks

This commit is contained in:
Francis Lachapelle committed 2016-06-06 10:38:22 -04:00
1 parent 5983c5cf4d
commit 2a053400d7
3 files changed
+3 -1

No files matched your search

@@ -702,6 +702,7 @@
_this.$cards = [];
angular.forEach(response.headers, function(data) {
var o = _.zipObject(headers, data);
angular.extend(o, { pid: _this.id });
_this.$cards.push(new AddressBook.$Card(o));
});
}