fix show_progress
This commit is contained in:
parent
4f0a58a691
commit
362aa9a8ff
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user