[pve-devel] [PATCH manager 2/3] Pass a panelOnlineHelp to get a help button for LXC Start/Shutdown options

Emmanuel Kasper e.kasper at proxmox.com
Thu Dec 1 14:16:39 CET 2016


---
 www/manager6/lxc/Options.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/www/manager6/lxc/Options.js b/www/manager6/lxc/Options.js
index 2df93a9..7670342 100644
--- a/www/manager6/lxc/Options.js
+++ b/www/manager6/lxc/Options.js
@@ -42,8 +42,10 @@ Ext.define('PVE.lxc.Options', {
 		header: gettext('Start/Shutdown order'),
 		defaultValue: '',
 		renderer: PVE.Utils.render_kvm_startup,
-		editor: caps.vms['VM.Config.Options'] && caps.nodes['Sys.Modify'] ? 
-		    'PVE.qemu.StartupEdit' : undefined
+		editor: caps.vms['VM.Config.Options'] && caps.nodes['Sys.Modify'] ? {
+		    xtype: 'pveQemuStartupEdit',
+		    panelOnlineHelp: 'pct_startup_and_shutdown'
+		} : undefined
 	    },
 	    ostype: {
 		header: gettext('OS Type'),
-- 
2.1.4





More information about the pve-devel mailing list