[pve-devel] [PATCH manager 1/2] fix #2096: enable resume button in context menu

Oguz Bektas o.bektas at proxmox.com
Mon Feb 18 15:52:05 CET 2019


Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
---
 www/manager6/qemu/CmdMenu.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/www/manager6/qemu/CmdMenu.js b/www/manager6/qemu/CmdMenu.js
index da6f556a..bbcbffba 100644
--- a/www/manager6/qemu/CmdMenu.js
+++ b/www/manager6/qemu/CmdMenu.js
@@ -40,6 +40,10 @@ Ext.define('PVE.qemu.CmdMenu', {
 		running = true;
 		stopped = false;
 		break;
+	    case 'suspended':
+		stopped = false;
+		suspended = true;
+		break;
 	    case 'paused':
 		stopped = false;
 		suspended = true;
-- 
2.11.0




More information about the pve-devel mailing list