[pve-devel] [PATCH widget-toolkit] rename pve(Show|Hide)Help events
Dominik Csapak
d.csapak at proxmox.com
Tue Feb 13 14:22:52 CET 2018
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 at proxmox.com>
---
panel/InputPanel.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel/InputPanel.js b/panel/InputPanel.js
index 4add54d..e3a2520 100644
--- a/panel/InputPanel.js
+++ b/panel/InputPanel.js
@@ -5,12 +5,12 @@ Ext.define('Proxmox.panel.InputPanel', {
activate: function() {
// notify owning container that it should display a help button
if (this.onlineHelp) {
- Ext.GlobalEvents.fireEvent('pveShowHelp', this.onlineHelp);
+ Ext.GlobalEvents.fireEvent('proxmoxShowHelp', this.onlineHelp);
}
},
deactivate: function() {
if (this.onlineHelp) {
- Ext.GlobalEvents.fireEvent('pveHideHelp', this.onlineHelp);
+ Ext.GlobalEvents.fireEvent('proxmoxHideHelp', this.onlineHelp);
}
}
},
--
2.11.0
More information about the pve-devel
mailing list