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}}