mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-09 08:53:20 +00:00
(js) Fix loading of card from global addressbooks
This commit is contained in:
@@ -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));
|
||||
});
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
vm.mode = { search: false, multiple: 0 };
|
||||
|
||||
function selectCard(card) {
|
||||
$state.go('app.addressbook.card.view', {addressbookId: stateAddressbook.id, cardId: card.id});
|
||||
$state.go('app.addressbook.card.view', {cardId: card.id});
|
||||
}
|
||||
|
||||
function toggleCardSelection($event, card) {
|
||||
|
||||
Reference in New Issue
Block a user