Update cm.tis
Fix cm not minimizing on password initiated connection
This commit is contained in:
parent
eec5c16876
commit
0208d0177a
@ -318,6 +318,9 @@ handler.addConnection = function(id, is_file_transfer, port_forward, peer_id, na
|
|||||||
if (conn) {
|
if (conn) {
|
||||||
conn.authorized = authorized;
|
conn.authorized = authorized;
|
||||||
update();
|
update();
|
||||||
|
self.timer(30ms, function() {
|
||||||
|
view.windowState = View.WINDOW_MINIMIZED;
|
||||||
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var idx = -1;
|
var idx = -1;
|
||||||
@ -343,11 +346,6 @@ handler.addConnection = function(id, is_file_transfer, port_forward, peer_id, na
|
|||||||
bring_to_top();
|
bring_to_top();
|
||||||
update();
|
update();
|
||||||
self.timer(1ms, adjustHeader);
|
self.timer(1ms, adjustHeader);
|
||||||
if (authorized) {
|
|
||||||
self.timer(3s, function() {
|
|
||||||
view.windowState = View.WINDOW_MINIMIZED;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
handler.removeConnection = function(id, close) {
|
handler.removeConnection = function(id, close) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user