summary refs log tree commit diff
path: root/webclient/rooms/rooms.html
diff options
context:
space:
mode:
authorErik Johnston <erikj@matrix.org>2014-08-12 17:17:10 +0100
committerErik Johnston <erikj@matrix.org>2014-08-12 17:17:14 +0100
commitfe3c5a27268d207e29be214c795da9bb756edb86 (patch)
treef0d7c312f7cf13c220974bfb0d50423b9411bbdb /webclient/rooms/rooms.html
parentJust say yes to OPTIONS requests, since we want to turn on CORS headers for a... (diff)
downloadsynapse-fe3c5a27268d207e29be214c795da9bb756edb86.tar.xz
Fix the 'Go to room' button to use the correct room alias api
Diffstat (limited to '')
-rw-r--r--webclient/rooms/rooms.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/webclient/rooms/rooms.html b/webclient/rooms/rooms.html
index 04b153982e..f134e5ee8c 100644
--- a/webclient/rooms/rooms.html
+++ b/webclient/rooms/rooms.html
@@ -68,8 +68,8 @@
     </div>
     <div>
         <form>
-            <input size="40" ng-model="goToRoom.room_id" ng-enter="goToRoom(goToRoom.room_id)" placeholder="(e.g. #foo_channe:example.org)"/>
-            <button ng-disabled="!goToRoom.room_id" ng-click="goToRoom(goToRoom.room_id)">Go to room</button>    
+            <input size="40" ng-model="joinAlias.room_alias" ng-enter="joinAlias(joinAlias.room_alias)" placeholder="(e.g. #foo_channe:example.org)"/>
+            <button ng-disabled="!joinAlias.room_alias" ng-click="joinAlias(joinAlias.room_alias)">Join room</button>    
         </form>
     </div>
     <br/>