|
|
@ -567,9 +567,8 @@ angular.module('myApp.controllers', ['myApp.i18n']) |
|
|
|
|
|
|
|
|
|
|
|
$scope.openGroup = function () { |
|
|
|
$scope.openGroup = function () { |
|
|
|
ContactsSelectService.selectContacts({action: 'new_group'}).then(function (userIDs) { |
|
|
|
ContactsSelectService.selectContacts({action: 'new_group'}).then(function (userIDs) { |
|
|
|
if (userIDs.length == 1) { |
|
|
|
if (userIDs && |
|
|
|
$scope.dialogSelect(AppUsersManager.getUserString(userIDs[0])) |
|
|
|
userIDs.length) { |
|
|
|
} else if (userIDs.length > 1) { |
|
|
|
|
|
|
|
var scope = $rootScope.$new() |
|
|
|
var scope = $rootScope.$new() |
|
|
|
scope.userIDs = userIDs |
|
|
|
scope.userIDs = userIDs |
|
|
|
|
|
|
|
|
|
|
|