]> git.proxmox.com Git - novnc-pve.git/commitdiff
add ie11 resize fix
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 14 Apr 2016 08:55:56 +0000 (10:55 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 14 Apr 2016 10:14:18 +0000 (12:14 +0200)
on ie11, the 'clip' setting will always be parsed to true
(because of weird calls to some functions which try to get
the clip setting at the wrong time, but only in ie11)

so instead of initSetting, we forceSetting the clip to false

if clip is true, it gets in the way of resizing

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
debian/patches/fix-ie11-resize.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/fix-ie11-resize.patch b/debian/patches/fix-ie11-resize.patch
new file mode 100644 (file)
index 0000000..ae6872a
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/pveui.js
++++ b/pveui.js
+@@ -115,7 +115,7 @@
+                 setTimeout(function() { window.scrollTo(0, 1); }, 100);
+                 UI.forceSetting('clip', true);
+             } else {
+-                UI.initSetting('clip', false);
++                UI.forceSetting('clip', false);
+             }
+             UI.setViewClip();
index 11d048daae0b7716f30aea12e15849539e9a5cf2..36c0b82c08a680d62256b10dd6e78c4466e76c01 100644 (file)
@@ -1,2 +1,3 @@
 pveui.patch
 fix-base-css.patch
+fix-ie11-resize.patch