Revert "file lost through rebasing"

This reverts commit a952402c39.
This commit is contained in:
Francis Lachapelle
2014-10-08 10:35:50 -04:00
parent e6ebc01419
commit 2429e0e2f4
8 changed files with 87 additions and 260 deletions
+1 -13
View File
@@ -178,19 +178,7 @@
$scope.share = function() {
var modal = $modal.open({
templateUrl: 'addressbookSharing.html',
controller: function($scope, $http, $modalInstance, sgAclUsers) {
/* Variables for the scope */
$scope.AclUsers = new sgAclUsers($rootScope.addressbook);
$scope.userObjects = {};
$scope.AclUsers.getUsers().then(function(data) {
$scope.users = data;
});
var dirtyObjects = {};
/* Functions */
$scope.removeButton = function() {
return ($scope.userSelected && $scope.userSelected.userClass != "public-user") ? false : true;
};
controller: function($scope, $modalInstance) {
$scope.closeModal = function() {
$modalInstance.close();
};