mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 03:58:06 +03:00
Clean previous request feedback when doing a new request
This commit is contained in:
parent
81ecaf945d
commit
6d18b52931
1 changed files with 3 additions and 0 deletions
|
@ -523,6 +523,9 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
|
||||||
}
|
}
|
||||||
|
|
||||||
if (promise) {
|
if (promise) {
|
||||||
|
// Reset previous feedback
|
||||||
|
$scope.feedback = "";
|
||||||
|
|
||||||
promise.then(
|
promise.then(
|
||||||
function() {
|
function() {
|
||||||
console.log("Request successfully sent");
|
console.log("Request successfully sent");
|
||||||
|
|
Loading…
Reference in a new issue