From e7ccd26c707a9786a349a2d5a6ad1b87206c9a82 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 12 Nov 2014 11:40:19 +0000 Subject: [PATCH] SYWEB-140: Redact button layout. --- syweb/webclient/app.css | 4 ++++ syweb/webclient/room/room-controller.js | 1 + syweb/webclient/room/room.html | 8 ++++++-- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/syweb/webclient/app.css b/syweb/webclient/app.css index 23ec42f12..403d615bf 100755 --- a/syweb/webclient/app.css +++ b/syweb/webclient/app.css @@ -458,6 +458,10 @@ textarea, input { font-family: monospace; } +.redact-button { + float: left +} + .room-info-textarea-content { height: auto; width: 100%; diff --git a/syweb/webclient/room/room-controller.js b/syweb/webclient/room/room-controller.js index 2a79fbfbb..6928754c5 100644 --- a/syweb/webclient/room/room-controller.js +++ b/syweb/webclient/room/room-controller.js @@ -1087,6 +1087,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput', 'a console.log("Redact event >> " + JSON.stringify($scope.event_selected)); $modalInstance.close("redact"); }; + $scope.dismiss = $modalInstance.dismiss; }) .controller('RoomInfoController', function($scope, $modalInstance, $filter, matrixService) { console.log("Displaying room info."); diff --git a/syweb/webclient/room/room.html b/syweb/webclient/room/room.html index 430a37afd..1f1cd9bae 100644 --- a/syweb/webclient/room/room.html +++ b/syweb/webclient/room/room.html @@ -5,11 +5,15 @@
 {{event_selected | json}}