[pve-devel] [PATCH manager] set resize to 'off' for the novnc popup
Dominik Csapak
d.csapak at proxmox.com
Mon Jul 23 10:56:25 CEST 2018
this makes it easier to handle the resize parameter in novnc code
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
this is intended to be applied with my latest upgrade
of the novnc package, with only this, the window
autoresize does not work
www/manager6/Utils.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index ad5a0a61..21153ece 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -815,7 +815,8 @@ Ext.define('PVE.Utils', { utilities: {
novnc: 1,
vmid: vmid,
vmname: vmname,
- node: nodename
+ node: nodename,
+ resize: 'off'
});
var nw = window.open("?" + url, '_blank', "innerWidth=745,innerheight=427");
nw.focus();
--
2.11.0
More information about the pve-devel
mailing list