add help button to 'My Settings' window

link to 'gui_my_settings' in docs

Signed-off-by: David Limbeck <d.limbeck@proxmox.com>
This commit is contained in:
David Limbeck 2018-11-13 13:48:26 +01:00 committed by Thomas Lamprecht
parent ee4b837692
commit 51da44912a

View File

@ -8,12 +8,20 @@ Ext.define('PVE.window.Settings', {
bodyPadding: 10,
resizable: false,
buttons: [{
text: gettext('Close'),
handler: function() {
this.up('window').close();
buttons: [
{
xtype: 'proxmoxHelpButton',
onlineHelp: 'gui_my_settings',
hidden: false
},
'->',
{
text: gettext('Close'),
handler: function() {
this.up('window').close();
}
}
}],
],
layout: {
type: 'hbox',
@ -317,6 +325,5 @@ Ext.define('PVE.window.Settings', {
onShow: function() {
var me = this;
me.callParent();
}
});