mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-19 02:15:36 +00:00
file lost through rebasing
This commit is contained in:
committed by
Francis Lachapelle
parent
edbd661104
commit
3bf1224c9b
@@ -173,7 +173,19 @@
|
||||
$scope.share = function() {
|
||||
var modal = $modal.open({
|
||||
templateUrl: 'addressbookSharing.html',
|
||||
controller: function($scope, $modalInstance) {
|
||||
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;
|
||||
};
|
||||
$scope.closeModal = function() {
|
||||
$modalInstance.close();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user