mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-21 22:55:02 -05:00
Clean previous request feedback when doing a new request
This commit is contained in:
parent
81ecaf945d
commit
6d18b52931
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user