Clean previous request feedback when doing a new request

This commit is contained in:
Emmanuel ROHEE 2014-09-10 17:40:34 +02:00
parent 81ecaf945d
commit 6d18b52931

View File

@ -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");