mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 09:25:58 +00:00
detectMigratedVM: also set changed wsurl (websocket url)
This commit is contained in:
parent
0accf2dacf
commit
3b98b949da
@ -40,10 +40,9 @@ Ext.define('PVE.VNCConsole', {
|
||||
Ext.Array.each(list, function(item) {
|
||||
if (item.type === 'qemu' && item.vmid == me.vmid) {
|
||||
if (item.node !== me.nodename) {
|
||||
//console.log("MOVED VM to node " + item.node);
|
||||
me.nodename = item.node;
|
||||
me.url = "/nodes/" + me.nodename + "/" + item.type + "/" + me.vmid + "/vncproxy";
|
||||
//console.log("NEW URL " + comp.url);
|
||||
me.wsurl = "/nodes/" + me.nodename + "/" + item.type + "/" + me.vmid + "/vncwebsocket";
|
||||
me.reloadApplet();
|
||||
}
|
||||
return false; // break
|
||||
|
Loading…
Reference in New Issue
Block a user