From a9042ff3245129a28b933d9c949292235759ce5b Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Thu, 11 Aug 2016 15:24:35 +0100 Subject: [PATCH] Enable enter key on share dialog button --- services/web/app/views/project/editor/share.jade | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/app/views/project/editor/share.jade b/services/web/app/views/project/editor/share.jade index 147803786d..049623c09f 100644 --- a/services/web/app/views/project/editor/share.jade +++ b/services/web/app/views/project/editor/share.jade @@ -95,6 +95,7 @@ script(type='text/ng-template', id='shareProjectModalTemplate') button.btn.btn-info( type="submit" ng-mousedown="addMembers()" + ng-keyup="$event.keyCode == 13 ? addMembers() : null" ) #{translate("share")} div(ng-hide="canAddCollaborators") p.text-center #{translate("need_to_upgrade_for_more_collabs")}. Also: