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.csa...@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


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to