mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 05:22:56 +00:00
fix jslint errors
jslint does not like mixing statements and function calls Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
4a01bc8345
commit
ab5022deb4
@ -4,11 +4,15 @@ Ext.define('PVE.panel.InputPanel', {
|
||||
listeners: {
|
||||
activate: function() {
|
||||
// notify owning container that it should display a help button
|
||||
this.onlineHelp && Ext.GlobalEvents.fireEvent('pveShowHelp', this.onlineHelp);
|
||||
if (this.onlineHelp) {
|
||||
Ext.GlobalEvents.fireEvent('pveShowHelp', this.onlineHelp);
|
||||
}
|
||||
},
|
||||
deactivate: function() {
|
||||
this.onlineHelp && Ext.GlobalEvents.fireEvent('pveHideHelp', this.onlineHelp);
|
||||
},
|
||||
if (this.onlineHelp) {
|
||||
Ext.GlobalEvents.fireEvent('pveHideHelp', this.onlineHelp);
|
||||
}
|
||||
}
|
||||
},
|
||||
border: false,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user