[pve-devel] [PATCH manager 1/2] show resume button when qmpstatus is 'suspended'

Dominik Csapak d.csapak at proxmox.com
Thu Jun 22 11:24:34 CEST 2017


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/qemu/Config.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/qemu/Config.js b/www/manager6/qemu/Config.js
index 0811797f..879ea322 100644
--- a/www/manager6/qemu/Config.js
+++ b/www/manager6/qemu/Config.js
@@ -321,7 +321,7 @@ Ext.define('PVE.qemu.Config', {
 
 	    }
 
-	    if (qmpstatus === 'prelaunch' || qmpstatus === 'paused') {
+	    if (qmpstatus === 'prelaunch' || qmpstatus === 'paused' || qmpstatus === 'suspended') {
 		startBtn.setVisible(false);
 		resumeBtn.setVisible(true);
 	    } else {
-- 
2.11.0





More information about the pve-devel mailing list