diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-11 13:52:07 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-11 13:52:07 +0200 |
commit | 6b20fef52af078e6fa7343f2e9c23fcbbf6fef48 (patch) | |
tree | 4c2acda125017b6e0c66ee7465a3e1d85d5728d2 /webclient/room/room.html | |
parent | Enable enter key in the invite input (diff) | |
download | synapse-6b20fef52af078e6fa7343f2e9c23fcbbf6fef48.tar.xz |
Invite: reset the input when the invitation has been done
Diffstat (limited to 'webclient/room/room.html')
-rw-r--r-- | webclient/room/room.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html index 2225cc7646..b00d632292 100644 --- a/webclient/room/room.html +++ b/webclient/room/room.html @@ -150,8 +150,8 @@ <div class="extraControls"> <span> Invite a user: - <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> + <input ng-model="userIDToInvite" size="32" type="text" ng-enter="inviteUser()" placeholder="User ID (ex:@user:homeserver)"/> + <button ng-click="inviteUser()">Invite</button> </span> <button ng-click="leaveRoom()">Leave</button> <button ng-click="startVoiceCall()" ng-show="(currentCall == undefined || currentCall.state == 'ended') && memberCount() == 2">Voice Call</button> |