fix show_progress

This commit is contained in:
rustdesk 2022-03-09 21:43:50 +08:00
parent 4f0a58a691
commit 362aa9a8ff

View File

@ -161,7 +161,8 @@ class MsgboxComponent: Reactor.Component {
}
var values = this.getValues();
if (this.callback) {
var err = this.callback(values, this.show_progress);
var self = this;
var err = this.callback(values, function(a=1, b='') { self.show_progress(a, b); });
if (!err) {
this.close();
return;