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:
parent
ee4b837692
commit
51da44912a
@ -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();
|
||||
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user