[pve-devel] [PATCH manager 5/5] properly hide the resume button by default

Dominik Csapak d.csapak at proxmox.com
Fri Apr 1 13:11:01 CEST 2016


the config 'visible' does not exist,
instead use 'hidden'

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 e0c3b64..603b4c2 100644
--- a/www/manager6/qemu/Config.js
+++ b/www/manager6/qemu/Config.js
@@ -41,7 +41,7 @@ Ext.define('PVE.qemu.Config', {
 	var resumeBtn = Ext.create('Ext.Button', {
 	    text: gettext('Resume'),
 	    disabled: !caps.vms['VM.PowerMgmt'],
-	    visible: false,
+	    hidden: true,
 	    handler: function() {
 		vm_command('resume');
 	    }
-- 
2.1.4





More information about the pve-devel mailing list