mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 05:45:00 +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,
|
||||
|
||||
initComponent : function() {
|
||||
/*jslint confusion: true */
|
||||
|
||||
var me = this;
|
||||
var ipanelConfig = me.onlineHelp ? {onlineHelp: me.onlineHelp} : {};
|
||||
@ -71,7 +70,7 @@ Ext.define('PVE.window.StartupEdit', {
|
||||
fieldDefaults: {
|
||||
labelWidth: 120
|
||||
},
|
||||
items: ipanel
|
||||
items: [ ipanel ]
|
||||
});
|
||||
|
||||
me.callParent();
|
||||
|
Loading…
Reference in New Issue
Block a user