mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-06-13 00:39:04 +00:00
Add support for Help Button in Edit windows
This commit is contained in:
parent
8aa37826e7
commit
e9ee100696
@ -238,6 +238,12 @@ Ext.define('PVE.window.Edit', {
|
||||
me.buttons = [ submitBtn, resetBtn ];
|
||||
}
|
||||
|
||||
if (items[0].onlineHelp) {
|
||||
var helpButton = Ext.create('PVE.button.Help');
|
||||
me.buttons.unshift(helpButton, '->');
|
||||
Ext.GlobalEvents.fireEvent('pveShowHelp', items[0].onlineHelp);
|
||||
}
|
||||
|
||||
Ext.applyIf(me, {
|
||||
modal: true,
|
||||
width: twoColumn ? colwidth*2 : colwidth,
|
||||
|
Loading…
Reference in New Issue
Block a user