summary refs log tree commit diff
path: root/webclient
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-10 17:40:34 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-10 17:40:34 +0200
commit6d18b52931dd46fb8ba3a680cc9519d4988815af (patch)
tree17ad7cc547c0dec44785b77f31bee206beabb01d /webclient
parentBF: Made /op work when providing no power value. 50 is used as default in thi... (diff)
downloadsynapse-6d18b52931dd46fb8ba3a680cc9519d4988815af.tar.xz
Clean previous request feedback when doing a new request
Diffstat (limited to 'webclient')
-rw-r--r--webclient/room/room-controller.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js
index 2af11edf32..171d4c0d99 100644
--- a/webclient/room/room-controller.js
+++ b/webclient/room/room-controller.js
@@ -523,6 +523,9 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
         }
 
         if (promise) {
+            // Reset previous feedback
+            $scope.feedback = "";
+
             promise.then(
                 function() {
                     console.log("Request successfully sent");