5
0
mirror of git://git.proxmox.com/git/novnc-pve.git synced 2025-01-03 05:17:56 +03:00

add ie11 resize fix

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>
This commit is contained in:
Dominik Csapak 2016-04-14 10:55:56 +02:00 committed by Dietmar Maurer
parent 1ca3f40997
commit 5b53f03537
2 changed files with 12 additions and 0 deletions

11
debian/patches/fix-ie11-resize.patch vendored Normal file
View File

@ -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();

View File

@ -1,2 +1,3 @@
pveui.patch pveui.patch
fix-base-css.patch fix-base-css.patch
fix-ie11-resize.patch