Commit 1efeb22c authored by Anthony Geourjon's avatar Anthony Geourjon
Browse files

Merge branch '13-ajout-utilisateur-dans-projet-ou-groupe' into 'master'

Resolve "Ajout utilisateur dans projet ou groupe"

Closes #13

See merge request !61
parents dee1fdc7 287b9d3d
......@@ -70,12 +70,11 @@ root.controller('NewMemberCtrl', ['$scope', '$http', '$dropListFactory', '$state
if (data.status == "success") {
newMemberCtrl.usersList = data.details;
$scope._showAlert({status: 1, message: ""})
if (data.details.length && data.details[0].login != "0") {
newMemberCtrl.confirmInfos = false;
var pos = newMemberCtrl.usersList.map(function (item) {
return item.email + " (" + item.firstName + " " + item.lastName + ")"
return "( " + item.firstName + " " + item.lastName + ") " + item.email
});
var users = new Bloodhound({
datumTokenizer: Bloodhound.tokenizers.whitespace,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment