From 144f1396b762ef0b861b42bc310222130a309549 Mon Sep 17 00:00:00 2001 From: James Allen Date: Thu, 15 Oct 2015 17:03:22 +0100 Subject: [PATCH] Fix problem with pasting multiple emails --- services/web/app/views/project/editor/share.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/app/views/project/editor/share.jade b/services/web/app/views/project/editor/share.jade index 837ad60c03..bce5674ad6 100644 --- a/services/web/app/views/project/editor/share.jade +++ b/services/web/app/views/project/editor/share.jade @@ -53,9 +53,9 @@ script(type='text/ng-template', id='shareProjectModalTemplate') ng-model="inputs.contacts" focus-on="open" display-property="display" - key-property="id" add-on-paste="true" replace-spaces-with-dashes="false" + type="email" ) auto-complete( source="filterAutocompleteUsers($query)" @@ -137,7 +137,7 @@ script(type="text/ng-template", id="makePrivateModalTemplate") script(type="text/ng-template", id="shareTagTemplate") .tag-template span(ng-if="data.type") - i.fa.fa-fw(ng-class="{'fa-user': data.type == 'user', 'fa-group': data.type == 'group'}") + i.fa.fa-fw(ng-class="{'fa-user': data.type != 'group', 'fa-group': data.type == 'group'}") | span {{$getDisplayText()}} |