diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-11-13 16:09:44 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-11-13 16:12:17 +0000 |
commit | afd2e214bc6a4b9c99113f843dc79b18374aa39c (patch) | |
tree | c423e4251bd0d77b9bb34237d56a0814803ab0a6 /syweb/webclient/room/room.html | |
parent | SYN-103: Remove "origin" and "destination" keys from edus (diff) | |
download | synapse-afd2e214bc6a4b9c99113f843dc79b18374aa39c.tar.xz |
SYWEB-152: Move up/down history fully to a directive.
Previously, there was some of it in a lovely generic directive, but the core of it was hard coded id attributes in RoomController. It's now all generic in a directive: the room history you get when you up/down arrow is determined by the value of the attribute e.g. command-history="!foo:bar" would present the history for !foo:bar. In practice, this is {{room_id}} in the html.
Diffstat (limited to 'syweb/webclient/room/room.html')
-rw-r--r-- | syweb/webclient/room/room.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syweb/webclient/room/room.html b/syweb/webclient/room/room.html index b97b839b41..17565f879b 100644 --- a/syweb/webclient/room/room.html +++ b/syweb/webclient/room/room.html @@ -251,7 +251,7 @@ <button id="attachButton" m-file-input="imageFileToSend" class="extraControls" ng-disabled="state.permission_denied"></button> <textarea id="mainInput" rows="1" ng-enter="send()" ng-disabled="state.permission_denied" - ng-focus="true" autocomplete="off" tab-complete command-history/> + ng-focus="true" autocomplete="off" tab-complete command-history="room_id"/> {{ feedback }} <div ng-show="state.stream_failure"> {{ state.stream_failure.data.error || "Connection failure" }} |