Am 07/23/2018 um 10:56 AM schrieb Dominik Csapak:
this makes it easier to handle the resize parameter in novnc code

Signed-off-by: Dominik Csapak <[email protected]>
---
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();


applied

_______________________________________________
pve-devel mailing list
[email protected]
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to