mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-12 13:49:44 +00:00
(js) Fix loading of card from global addressbooks
This commit is contained in:
@@ -6,6 +6,7 @@ Bug fixes
|
||||
- [web] fixed user removal from ACLs in Administration module (#3713)
|
||||
- [web] fixed event classification icon (private/confidential) in month view (#3711)
|
||||
- [web] CKEditor: added the pastefromword plugin (#2295, #3313)
|
||||
- [web] fixed loading of card from global addressbooks
|
||||
|
||||
3.1.1 (2016-06-02)
|
||||
------------------
|
||||
|
||||
@@ -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