]> git.proxmox.com Git - novnc-pve.git/commitdiff
add fix for sendCtrlAltDeleteButton
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 14 Apr 2016 08:55:57 +0000 (10:55 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 14 Apr 2016 10:14:26 +0000 (12:14 +0200)
with this patch the sendCtrlAltDeleteButton shows and
hides properly on mobile

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

diff --git a/debian/patches/fix-CtrlAltDel-button-mobile.patch b/debian/patches/fix-CtrlAltDel-button-mobile.patch
new file mode 100644 (file)
index 0000000..3fee12b
--- /dev/null
@@ -0,0 +1,18 @@
+--- a/pveui.js
++++ b/pveui.js
+@@ -1156,6 +1156,7 @@
+                 $D('toggleAltButton').style.display = "inline";
+                 $D('sendTabButton').style.display = "inline";
+                 $D('sendEscButton').style.display = "inline";
++              $D('sendCtrlAltDelButton').style.display = "inline";
+                 $D('showExtraKeysButton').className = "noVNC_status_button_selected";
+                 UI.extraKeysVisible = true;
+             } else if(UI.extraKeysVisible === true) {
+@@ -1163,6 +1164,7 @@
+                 $D('toggleAltButton').style.display = "";
+                 $D('sendTabButton').style.display = "";
+                 $D('sendEscButton').style.display = "";
++              $D('sendCtrlAltDelButton').style.display = "";
+                 $D('showExtraKeysButton').className = "noVNC_status_button";
+                 UI.extraKeysVisible = false;
+             }
index 36c0b82c08a680d62256b10dd6e78c4466e76c01..c12bbacbafcce6889f2f686782e687c1095ca249 100644 (file)
@@ -1,3 +1,4 @@
 pveui.patch
 fix-base-css.patch
 fix-ie11-resize.patch
+fix-CtrlAltDel-button-mobile.patch