mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
fix file delete bugs
This commit is contained in:
1 parent
3ea33f7203
commit
a56aa08a66
6 files changed
+102
-27
No files matched your search
+2
-1
@@ -145,6 +145,7 @@ class MsgboxComponent: Reactor.Component {
|
||||
var values = this.getValues();
|
||||
values.skip = true;
|
||||
if (this.callback) this.callback(values);
|
||||
if (this.close) this.close();
|
||||
}
|
||||
|
||||
event click $(button#submit) {
|
||||
@@ -164,7 +165,7 @@ class MsgboxComponent: Reactor.Component {
|
||||
var self = this;
|
||||
var err = this.callback(values, function(a=1, b='') { self.show_progress(a, b); });
|
||||
if (!err) {
|
||||
this.close();
|
||||
if (this.close) this.close();
|
||||
return;
|
||||
}
|
||||
if (err && err.trim()) this.show_progress(false, err);
|
||||
|
||||
Reference in new issue
Block a user