]> git.proxmox.com Git - pve-manager.git/commitdiff
properly hide the resume button by default
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 1 Apr 2016 11:11:01 +0000 (13:11 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 1 Apr 2016 11:23:08 +0000 (13:23 +0200)
the config 'visible' does not exist,
instead use 'hidden'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/qemu/Config.js

index e0c3b6432bcfaf89b295832fc200ca668bae34bf..603b4c260f612c0f7d7ac4669fc5361f6433b073 100644 (file)
@@ -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');
            }