]> git.proxmox.com Git - pve-manager.git/commitdiff
change default value for hotplug to match QemuServer default
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 21 Jan 2015 08:09:57 +0000 (09:09 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 21 Jan 2015 08:20:42 +0000 (09:20 +0100)
www/manager/qemu/Options.js

index 05ebf87118ac5226d75016f9a1ba4b1a9dd6bbb4..455c4d1930e175321f5ff606836d11761efd317e 100644 (file)
@@ -123,7 +123,7 @@ Ext.define('PVE.qemu.Options', {
            },
            hotplug: {
                header: gettext('Hotplug'),
-               defaultValue: '',
+               defaultValue: true,
                renderer: PVE.Utils.format_boolean,
                editor: caps.vms['VM.Config.HWType'] ? {
                    xtype: 'pveWindowEdit',
@@ -132,7 +132,7 @@ Ext.define('PVE.qemu.Options', {
                        xtype: 'pvecheckbox',
                        name: 'hotplug',
                        uncheckedValue: 0,
-                       defaultValue: 0,
+                       defaultValue: 1,
                        deleteDefaultValue: true,
                        fieldLabel: gettext('Hotplug')
                    }