(js) Fix loading of card from global addressbooks

This commit is contained in:
Francis Lachapelle
2016-06-06 10:38:22 -04:00
parent 5983c5cf4d
commit 2a053400d7
3 changed files with 3 additions and 1 deletions
@@ -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));
});
}