]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
rename pve(Show|Hide)Help events
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 13 Feb 2018 13:20:10 +0000 (14:20 +0100)
committerDominik Csapak <d.csapak@proxmox.com>
Tue, 13 Feb 2018 15:12:50 +0000 (16:12 +0100)
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>
panel/InputPanel.js

index 4add54d1aa889682a430e67146073f865bd44b61..e3a2520e931af632e6c2e210b5c8aeab7189cafd 100644 (file)
@@ -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);
            }
        }
     },