mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 06:55:46 +00:00
fix jslint confusion warning
ExtJS components accept for the items property either a single component or an array of components which generates a jslint type confusion warning.
This commit is contained in:
parent
6eb2141a78
commit
734a91b9b9
@ -60,7 +60,6 @@ Ext.define('PVE.window.StartupEdit', {
|
|||||||
onlineHelp: undefined,
|
onlineHelp: undefined,
|
||||||
|
|
||||||
initComponent : function() {
|
initComponent : function() {
|
||||||
/*jslint confusion: true */
|
|
||||||
|
|
||||||
var me = this;
|
var me = this;
|
||||||
var ipanelConfig = me.onlineHelp ? {onlineHelp: me.onlineHelp} : {};
|
var ipanelConfig = me.onlineHelp ? {onlineHelp: me.onlineHelp} : {};
|
||||||
@ -71,7 +70,7 @@ Ext.define('PVE.window.StartupEdit', {
|
|||||||
fieldDefaults: {
|
fieldDefaults: {
|
||||||
labelWidth: 120
|
labelWidth: 120
|
||||||
},
|
},
|
||||||
items: ipanel
|
items: [ ipanel ]
|
||||||
});
|
});
|
||||||
|
|
||||||
me.callParent();
|
me.callParent();
|
||||||
|
Loading…
Reference in New Issue
Block a user