diff --git a/js/app/controllers/calendarlistcontroller.js b/js/app/controllers/calendarlistcontroller.js index b57be8544..ed7147ee2 100644 --- a/js/app/controllers/calendarlistcontroller.js +++ b/js/app/controllers/calendarlistcontroller.js @@ -199,7 +199,7 @@ app.controller('CalendarListController', ['$scope', '$rootScope', '$window', 'Ha }); }; - $scope.updateExistingUserShare = function(calendar, displayname, userId, writable) { + $scope.updateExistingUserShare = function(calendar, userId, displayname, writable) { calendar.share(constants.SHARE_TYPE_USER, userId, displayname, writable, true).then(function() { $scope.$apply(); });