diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-10 17:40:34 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-09-10 17:40:34 +0200 |
commit | 6d18b52931dd46fb8ba3a680cc9519d4988815af (patch) | |
tree | 17ad7cc547c0dec44785b77f31bee206beabb01d /webclient | |
parent | BF: Made /op work when providing no power value. 50 is used as default in thi... (diff) | |
download | synapse-6d18b52931dd46fb8ba3a680cc9519d4988815af.tar.xz |
Clean previous request feedback when doing a new request
Diffstat (limited to '')
-rw-r--r-- | webclient/room/room-controller.js | 3 |
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"); |