summary refs log tree commit diff
path: root/webclient
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-08-19 16:37:31 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-08-19 16:37:31 +0200
commit4f773de6baeeee0d0a3d4aa3606dec0d45698ce5 (patch)
tree6e7204b35aa0b046a15071bc16c227b63918d9d2 /webclient
parentCleaned dead code (diff)
downloadsynapse-4f773de6baeeee0d0a3d4aa3606dec0d45698ce5.tar.xz
BF: The enter key in the image URL box called sendImage() with no argument
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 36bd95c1bb..8cae7ee515 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -76,7 +76,7 @@
                     <td>
                     </td>
                     <td>
-                        <input id="mainInput" ng-model="imageURLToSend" ng-enter="sendImage()" placeholder="Image URL"/>
+                        <input id="mainInput" ng-model="imageURLToSend" ng-enter="sendImage(imageURLToSend)" placeholder="Image URL"/>
                     </td>
                     <td width="100px">
                         <button ng-click="sendImage(imageURLToSend)">Send URL</button>