summary refs log tree commit diff
path: root/webclient/room/room-controller.js
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-10-30 13:24:40 +0000
committerKegan Dougal <kegan@matrix.org>2014-10-30 13:24:40 +0000
commit6f3f631fd11f744afa57396e8dd18e064ce90e8f (patch)
tree9552b7379bc536b42ec0a66ea6bc8c27c3a14e44 /webclient/room/room-controller.js
parentSYWEB-12: Format room info dialog better. (diff)
downloadsynapse-6f3f631fd11f744afa57396e8dd18e064ce90e8f.tar.xz
SYWEB-12: More formatting.
Diffstat (limited to 'webclient/room/room-controller.js')
-rw-r--r--webclient/room/room-controller.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js
index 37f51c4e91..fcbcd75364 100644
--- a/webclient/room/room-controller.js
+++ b/webclient/room/room-controller.js
@@ -1039,9 +1039,9 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
 .controller('RoomInfoController', function($scope, $modalInstance, $filter) {
     console.log("Displaying room info.");
 
-    $scope.submitState = function(eventType, content) {
-        console.log("Submitting " + eventType + " with " + content);
-    }
+    $scope.submit = function(event) {
+        console.error("submit >>> " + JSON.stringify(event));
+    };
 
     $scope.dismiss = $modalInstance.dismiss;