mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 11:33:50 +00:00
Add Help Button for Backup Modal Windows
Modal Windows disable the Workspace behind them, so it was not possible to get onlineHelp when starting a oneshot backup or configuring a backup job.
This commit is contained in:
parent
74f644b7df
commit
0de33b54b2
@ -192,6 +192,7 @@ Ext.define('PVE.dc.BackupEdit', {
|
||||
/*jslint confusion: false*/
|
||||
|
||||
var ipanel = Ext.create('PVE.panel.InputPanel', {
|
||||
onlineHelp: 'chapter_vzdump',
|
||||
column1: column1,
|
||||
column2: column2,
|
||||
onGetValues: function(values) {
|
||||
|
@ -107,6 +107,12 @@ Ext.define('PVE.window.Backup', {
|
||||
}
|
||||
});
|
||||
|
||||
var helpBtn = Ext.create('PVE.button.Help', {
|
||||
onlineHelp: 'chapter_vzdump',
|
||||
listenToGlobalEvent: false,
|
||||
hidden: false
|
||||
});
|
||||
|
||||
var title = gettext('Backup') + " " +
|
||||
((me.vmtype === 'lxc') ? "CT" : "VM") +
|
||||
" " + me.vmid;
|
||||
@ -118,7 +124,7 @@ Ext.define('PVE.window.Backup', {
|
||||
layout: 'auto',
|
||||
border: false,
|
||||
items: [ me.formPanel ],
|
||||
buttons: [ submitBtn ]
|
||||
buttons: [ helpBtn, '->', submitBtn ]
|
||||
});
|
||||
|
||||
me.callParent();
|
||||
|
Loading…
Reference in New Issue
Block a user