summary refs log tree commit diff
path: root/webclient/room
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-11 13:43:55 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-11 13:43:55 +0200
commitc92740e8a905b3f19a27290410823cff9b35b945 (patch)
tree6d8de2a9427dff04e33a59b84c03f6c4dcd090fd /webclient/room
parentOn member avatar mouseover, show user_id and power level (diff)
downloadsynapse-c92740e8a905b3f19a27290410823cff9b35b945.tar.xz
Enable enter key in the invite input
Diffstat (limited to '')
-rw-r--r--webclient/room/room.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html
index 98423ae40b..2225cc7646 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -150,7 +150,7 @@
             <div class="extraControls">
                 <span>
                    Invite a user: 
-                        <input ng-model="userIDToInvite" size="32" type="text" placeholder="User ID (ex:@user:homeserver)"/>     
+                        <input ng-model="userIDToInvite" size="32" type="text"  ng-enter="inviteUser(userIDToInvite)" placeholder="User ID (ex:@user:homeserver)"/>     
                         <button ng-click="inviteUser(userIDToInvite)">Invite</button>
                 </span>
                 <button ng-click="leaveRoom()">Leave</button>