bug fix for msgbox, todo: test more for msgbox in file_transfer.tis

This commit is contained in:
open-trade
2022-01-05 16:32:45 +08:00
parent 6767dda246
commit b24e16d6c1
3 changed files with 3 additions and 2 deletions

View File

@@ -261,8 +261,8 @@ function msgbox_(type, title, text, callback, height, width, retry, contentStyle
} else if (res == "!alive") {
// do nothing
} else if (res.type == "input-password") {
if (!is_port_forward) msgbox("connecting", "Connecting...", "Logging in...");
handler.login(res.password, res.remember);
if (!is_port_forward) msgbox("connecting", "Connecting...", "Logging in...");
} else if (res.reconnect) {
if (!is_port_forward) connecting();
handler.reconnect();