mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-06-22 19:58:40 +00:00
rename pve(Show|Hide)Help events
we renamed them in the helpButton, we also have to rename them here this prevented the help button to show up in the vm/ct creation wizard Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
c6f1ab1bd7
commit
4b23ab8806
@ -5,12 +5,12 @@ Ext.define('Proxmox.panel.InputPanel', {
|
|||||||
activate: function() {
|
activate: function() {
|
||||||
// notify owning container that it should display a help button
|
// notify owning container that it should display a help button
|
||||||
if (this.onlineHelp) {
|
if (this.onlineHelp) {
|
||||||
Ext.GlobalEvents.fireEvent('pveShowHelp', this.onlineHelp);
|
Ext.GlobalEvents.fireEvent('proxmoxShowHelp', this.onlineHelp);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
deactivate: function() {
|
deactivate: function() {
|
||||||
if (this.onlineHelp) {
|
if (this.onlineHelp) {
|
||||||
Ext.GlobalEvents.fireEvent('pveHideHelp', this.onlineHelp);
|
Ext.GlobalEvents.fireEvent('proxmoxHideHelp', this.onlineHelp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user