summary refs log tree commit diff
path: root/webclient/room/room.html
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-11 15:46:24 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-11 15:46:24 +0200
commit806c49a690b5db15030bb5e8d14c5f9983e875d4 (patch)
treed22aad7e6386f1f85e2f61de0a77ce3fa39868cd /webclient/room/room.html
parentUse autofill-event.js to workaround browsers issue: Form model doesn't update... (diff)
downloadsynapse-806c49a690b5db15030bb5e8d14c5f9983e875d4.tar.xz
Added support of copy/paste of multi lines content
Diffstat (limited to 'webclient/room/room.html')
-rw-r--r--webclient/room/room.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/webclient/room/room.html b/webclient/room/room.html
index b00d632292..530545da53 100644
--- a/webclient/room/room.html
+++ b/webclient/room/room.html
@@ -97,6 +97,7 @@
                               ng-bind-html="'* ' + (members[msg.user_id].displayname || msg.user_id) + ' ' + msg.content.body | linky:'_blank'"/>
                         
                         <span ng-show='msg.content.msgtype === "m.text"' 
+                              class="message"
                               ng-class="msg.echo_msg_state"
                               ng-bind-html="((msg.content.msgtype === 'm.text') ? msg.content.body : '') | linky:'_blank'"/>
 
@@ -138,7 +139,7 @@
                         {{ state.user_id }} 
                     </td>
                     <td width="*">
-                        <input id="mainInput" ng-model="textInput" ng-enter="send()" ng-focus="true" autocomplete="off" tab-complete/>
+                        <textarea id="mainInput" rows="1" ng-model="textInput" ng-enter="send()" ng-focus="true" autocomplete="off" tab-complete/>
                     </td>
                     <td id="buttonsCell">
                         <button ng-click="send()">Send</button>