[pve-devel] [PATCH 4/4] add fix for sendCtrlAltDeleteButton

Dominik Csapak d.csapak at proxmox.com
Thu Apr 14 10:55:57 CEST 2016


with this patch the sendCtrlAltDeleteButton shows and
hides properly on mobile

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 debian/patches/fix-CtrlAltDel-button-mobile.patch | 18 ++++++++++++++++++
 debian/patches/series                             |  1 +
 2 files changed, 19 insertions(+)
 create mode 100644 debian/patches/fix-CtrlAltDel-button-mobile.patch

diff --git a/debian/patches/fix-CtrlAltDel-button-mobile.patch b/debian/patches/fix-CtrlAltDel-button-mobile.patch
new file mode 100644
index 0000000..3fee12b
--- /dev/null
+++ b/debian/patches/fix-CtrlAltDel-button-mobile.patch
@@ -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;
+             }
diff --git a/debian/patches/series b/debian/patches/series
index 36c0b82..c12bbac 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 pveui.patch
 fix-base-css.patch
 fix-ie11-resize.patch
+fix-CtrlAltDel-button-mobile.patch
-- 
2.1.4





More information about the pve-devel mailing list