fix typo in addressbook sharing

This commit is contained in:
Hendrik Leppelsack 2016-03-03 11:17:32 +01:00 committed by Thomas Müller
parent 15412f3822
commit 8873f1b0e0
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ app.controller('addressbookCtrl', ['$scope', 'AddressBookService', function($sco
});
};
ctrl.updateExistingGroupShare = function(calendar, groupId, writable) {
ctrl.updateExistingGroupShare = function(addressBook, groupId, writable) {
AddressBookService.share(addressBook, OC.Share.SHARE_TYPE_GROUP, groupId, writable, true).then(function() {
$scope.$apply();
});

View File

@ -129,7 +129,7 @@ app.controller('addressbookCtrl', ['$scope', 'AddressBookService', function($sco
});
};
ctrl.updateExistingGroupShare = function(calendar, groupId, writable) {
ctrl.updateExistingGroupShare = function(addressBook, groupId, writable) {
AddressBookService.share(addressBook, OC.Share.SHARE_TYPE_GROUP, groupId, writable, true).then(function() {
$scope.$apply();
});