[pve-devel] [PATCH manager 03/10] jslint: remove trailing commas
Dominik Csapak
d.csapak at proxmox.com
Fri Apr 29 12:06:28 CEST 2016
before ECMA5 trailing commas in arrays and objects
are forbidden
in jslint this is an error and cannot be deactivated
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/Parser.js | 2 +-
www/manager6/Toolkit.js | 2 +-
www/manager6/ceph/Config.js | 2 +-
www/manager6/ceph/Disks.js | 2 +-
www/manager6/ceph/OSD.js | 2 +-
www/manager6/ceph/Pool.js | 2 +-
www/manager6/data/PVEProxy.js | 2 +-
www/manager6/data/RRDStore.js | 4 ++--
www/manager6/data/ResourceStore.js | 4 ++--
www/manager6/data/TimezoneStore.js | 4 ++--
www/manager6/data/reader/JsonObject.js | 4 ++--
www/manager6/dc/ACLView.js | 2 +-
www/manager6/dc/Backup.js | 2 +-
www/manager6/dc/OptionView.js | 2 +-
www/manager6/dc/StorageView.js | 2 +-
www/manager6/form/BondModeSelector.js | 2 +-
www/manager6/form/CacheTypeSelector.js | 2 +-
www/manager6/form/DayOfWeekSelector.js | 2 +-
www/manager6/form/GroupSelector.js | 2 +-
www/manager6/form/HotplugFeatureSelector.js | 2 +-
www/manager6/form/KVComboBox.js | 2 +-
www/manager6/form/NodeSelector.js | 2 +-
www/manager6/form/RRDTypeSelector.js | 2 +-
www/manager6/form/RealmComboBox.js | 2 +-
www/manager6/form/StorageSelector.js | 2 +-
www/manager6/form/ViewSelector.js | 2 +-
www/manager6/grid/FirewallRules.js | 4 ++--
www/manager6/grid/PoolMembers.js | 4 ++--
www/manager6/grid/ResourceGrid.js | 2 +-
www/manager6/ha/Config.js | 2 +-
www/manager6/ha/GroupEdit.js | 2 +-
www/manager6/ha/StatusView.js | 2 +-
www/manager6/lxc/CmdMenu.js | 4 ++--
www/manager6/lxc/Network.js | 8 ++++----
www/manager6/lxc/Summary.js | 2 +-
www/manager6/node/Config.js | 4 ++--
www/manager6/node/NetworkEdit.js | 2 +-
www/manager6/node/NetworkView.js | 2 +-
www/manager6/node/Subscription.js | 4 ++--
www/manager6/node/Summary.js | 8 ++++----
www/manager6/node/Tasks.js | 2 +-
www/manager6/panel/ConfigPanel.js | 2 +-
www/manager6/panel/Firewall.js | 2 +-
www/manager6/panel/RRDChart.js | 10 +++++-----
www/manager6/qemu/BootOrderEdit.js | 8 ++++----
www/manager6/qemu/CPUOptions.js | 2 +-
www/manager6/qemu/Config.js | 4 ++--
www/manager6/qemu/MemoryEdit.js | 8 ++++----
www/manager6/qemu/ProcessorEdit.js | 4 ++--
www/manager6/qemu/Smbios1Edit.js | 14 +++++++-------
www/manager6/qemu/Summary.js | 6 +++---
www/manager6/storage/ContentView.js | 8 ++++----
www/manager6/storage/GlusterFsEdit.js | 4 ++--
www/manager6/storage/IScsiEdit.js | 2 +-
www/manager6/storage/LVMEdit.js | 4 ++--
www/manager6/storage/LvmThinEdit.js | 4 ++--
www/manager6/storage/NFSEdit.js | 2 +-
www/manager6/storage/StatusView.js | 2 +-
www/manager6/storage/Summary.js | 4 ++--
www/manager6/storage/ZFSPoolEdit.js | 4 ++--
www/manager6/tree/ResourceTree.js | 2 +-
www/manager6/window/Edit.js | 2 +-
www/manager6/window/MigrateAll.js | 2 +-
www/manager6/window/SafeDestroy.js | 4 ++--
64 files changed, 108 insertions(+), 108 deletions(-)
diff --git a/www/manager6/Parser.js b/www/manager6/Parser.js
index ae8bff9..c049d06 100644
--- a/www/manager6/Parser.js
+++ b/www/manager6/Parser.js
@@ -493,5 +493,5 @@ Ext.define('PVE.Parser', { statics: {
}
return cpustr + optstr;
- },
+ }
}});
diff --git a/www/manager6/Toolkit.js b/www/manager6/Toolkit.js
index e3a4e23..8c154fd 100644
--- a/www/manager6/Toolkit.js
+++ b/www/manager6/Toolkit.js
@@ -100,7 +100,7 @@ Ext.apply(Ext.form.field.VTypes, {
pveMail: function(v) {
return (/^(\w+)([\-+.][\w]+)*@(\w[\-\w]*\.){1,5}([A-Za-z]){2,63}$/).test(v);
},
- pveMailText: gettext('Example') + ": user at example.com",
+ pveMailText: gettext('Example') + ": user at example.com"
});
// ExtJs 5-6 has an issue with caching
diff --git a/www/manager6/ceph/Config.js b/www/manager6/ceph/Config.js
index 2ff60ed..dd6c956 100644
--- a/www/manager6/ceph/Config.js
+++ b/www/manager6/ceph/Config.js
@@ -108,7 +108,7 @@ Ext.define('PVE.node.Ceph', {
xtype: 'pveLogView',
url: "/api2/extjs/nodes/" + nodename + "/ceph/log"
}
- ],
+ ]
}
});
diff --git a/www/manager6/ceph/Disks.js b/www/manager6/ceph/Disks.js
index 3c0ba37..47b08bd 100644
--- a/www/manager6/ceph/Disks.js
+++ b/www/manager6/ceph/Disks.js
@@ -179,7 +179,7 @@ Ext.define('PVE.form.CephDiskSelector', {
});
Ext.apply(me, {
- store: store,
+ store: store
});
me.callParent();
diff --git a/www/manager6/ceph/OSD.js b/www/manager6/ceph/OSD.js
index af0457d..41c90b2 100644
--- a/www/manager6/ceph/OSD.js
+++ b/www/manager6/ceph/OSD.js
@@ -80,7 +80,7 @@ Ext.define('PVE.CephRemoveOsd', {
me.title = gettext('Remove') + ': ' + 'Ceph OSD osd.' + me.osdid;
Ext.applyIf(me, {
- url: "/nodes/" + me.nodename + "/ceph/osd/" + me.osdid,
+ url: "/nodes/" + me.nodename + "/ceph/osd/" + me.osdid
});
me.callParent();
diff --git a/www/manager6/ceph/Pool.js b/www/manager6/ceph/Pool.js
index 099380f..9f203e3 100644
--- a/www/manager6/ceph/Pool.js
+++ b/www/manager6/ceph/Pool.js
@@ -61,7 +61,7 @@ Ext.define('PVE.CephCreatePool', {
}
Ext.applyIf(me, {
- url: "/nodes/" + me.nodename + "/ceph/pools",
+ url: "/nodes/" + me.nodename + "/ceph/pools"
});
me.callParent();
diff --git a/www/manager6/data/PVEProxy.js b/www/manager6/data/PVEProxy.js
index 20c1acb..86fc951 100644
--- a/www/manager6/data/PVEProxy.js
+++ b/www/manager6/data/PVEProxy.js
@@ -20,7 +20,7 @@ Ext.define('PVE.RestProxy', {
reader: {
type: 'json',
rootProperty: config.root || 'data'
- },
+ }
});
this.callParent([config]);
diff --git a/www/manager6/data/RRDStore.js b/www/manager6/data/RRDStore.js
index 0d7a877..f9f8068 100644
--- a/www/manager6/data/RRDStore.js
+++ b/www/manager6/data/RRDStore.js
@@ -20,7 +20,7 @@ Ext.define('PVE.data.RRDStore', {
},
proxy: {
- type: 'pve',
+ type: 'pve'
},
fields: [
// node rrd fields
@@ -63,7 +63,7 @@ Ext.define('PVE.data.RRDStore', {
'total',
// for time we generate unix timestamps, javascript uses milliseconds instead of seconds
- { name:'time', convert: function(value) { return value*1000; }},
+ { name:'time', convert: function(value) { return value*1000; }}
],
sorters: 'time',
timeframe: 'hour',
diff --git a/www/manager6/data/ResourceStore.js b/www/manager6/data/ResourceStore.js
index 11d9fbe..7e5725c 100644
--- a/www/manager6/data/ResourceStore.js
+++ b/www/manager6/data/ResourceStore.js
@@ -95,7 +95,7 @@ Ext.define('PVE.data.ResourceStore', {
renderer: PVE.Utils.render_disk_usage,
sortable: true,
width: 100,
- hidden: true,
+ hidden: true
},
diskuse: {
header: gettext('Disk usage') + " %",
@@ -104,7 +104,7 @@ Ext.define('PVE.data.ResourceStore', {
renderer: PVE.Utils.render_disk_usage_percent,
width: 100,
calculate: PVE.Utils.calculate_disk_usage,
- sortType: 'asFloat',
+ sortType: 'asFloat'
},
maxdisk: {
header: gettext('Disk size'),
diff --git a/www/manager6/data/TimezoneStore.js b/www/manager6/data/TimezoneStore.js
index 6de132e..79be8b7 100644
--- a/www/manager6/data/TimezoneStore.js
+++ b/www/manager6/data/TimezoneStore.js
@@ -414,5 +414,5 @@ Ext.define('PVE.data.TimezoneStore', {
['Pacific/Tongatapu'],
['Pacific/Wake'],
['Pacific/Wallis']
- ],
-});
\ No newline at end of file
+ ]
+});
diff --git a/www/manager6/data/reader/JsonObject.js b/www/manager6/data/reader/JsonObject.js
index 4323e3e..0aa0952 100644
--- a/www/manager6/data/reader/JsonObject.js
+++ b/www/manager6/data/reader/JsonObject.js
@@ -81,7 +81,7 @@ Ext.define('PVE.data.reader.JsonObject', {
data.push(rec);
}
});
- }
+ }
} else {
@@ -109,7 +109,7 @@ Ext.define('PVE.data.reader.JsonObject', {
Ext.Object.each(root, function(key, value) {
data.push({key: key, value: value });
});
- }
+ }
}
}
catch (ex) {
diff --git a/www/manager6/dc/ACLView.js b/www/manager6/dc/ACLView.js
index 56b05a3..a846058 100644
--- a/www/manager6/dc/ACLView.js
+++ b/www/manager6/dc/ACLView.js
@@ -215,7 +215,7 @@ Ext.define('PVE.dc.ACLView', {
}
}
]
- },
+ }
},
remove_btn
],
diff --git a/www/manager6/dc/Backup.js b/www/manager6/dc/Backup.js
index 55e03a3..7647cb8 100644
--- a/www/manager6/dc/Backup.js
+++ b/www/manager6/dc/Backup.js
@@ -412,7 +412,7 @@ Ext.define('PVE.dc.BackupView', {
sortable: true,
disabled: true,
disabledCls: 'x-item-enabled',
- stopSelection: false,
+ stopSelection: false
},
{
header: gettext('Node'),
diff --git a/www/manager6/dc/OptionView.js b/www/manager6/dc/OptionView.js
index 8603182..7a15185 100644
--- a/www/manager6/dc/OptionView.js
+++ b/www/manager6/dc/OptionView.js
@@ -64,7 +64,7 @@ Ext.define('PVE.dc.ConsoleViewerEdit', {
name: 'console',
value: '__default__',
fieldLabel: gettext('Console Viewer'),
- comboItems: data,
+ comboItems: data
}
});
diff --git a/www/manager6/dc/StorageView.js b/www/manager6/dc/StorageView.js
index 84a2bcc..86d23bd 100644
--- a/www/manager6/dc/StorageView.js
+++ b/www/manager6/dc/StorageView.js
@@ -187,7 +187,7 @@ Ext.define('PVE.dc.StorageView', {
win.on('destroy', reload);
win.show();
}
- },
+ }
/* the following type are conidered unstable
* so we do not enable that on the GUI for now
diff --git a/www/manager6/form/BondModeSelector.js b/www/manager6/form/BondModeSelector.js
index 97445d5..021d613 100644
--- a/www/manager6/form/BondModeSelector.js
+++ b/www/manager6/form/BondModeSelector.js
@@ -37,6 +37,6 @@ Ext.define('PVE.form.BondPolicySelector', {
['layer2', 'layer2'],
['layer2+3', 'layer2+3'],
['layer3+4', 'layer3+4']
- ],
+ ]
});
diff --git a/www/manager6/form/CacheTypeSelector.js b/www/manager6/form/CacheTypeSelector.js
index f9d39bf..03a4bfa 100644
--- a/www/manager6/form/CacheTypeSelector.js
+++ b/www/manager6/form/CacheTypeSelector.js
@@ -8,5 +8,5 @@ Ext.define('PVE.form.CacheTypeSelector', {
['writeback', 'Write back'],
['unsafe', 'Write back (' + gettext('unsafe') + ')'],
['none', gettext('No cache')]
- ],
+ ]
});
diff --git a/www/manager6/form/DayOfWeekSelector.js b/www/manager6/form/DayOfWeekSelector.js
index e855462..1b826b6 100644
--- a/www/manager6/form/DayOfWeekSelector.js
+++ b/www/manager6/form/DayOfWeekSelector.js
@@ -11,7 +11,7 @@ Ext.define('PVE.form.DayOfWeekSelector', {
['thu', Ext.util.Format.htmlDecode(Ext.Date.dayNames[4])],
['fri', Ext.util.Format.htmlDecode(Ext.Date.dayNames[5])],
['sat', Ext.util.Format.htmlDecode(Ext.Date.dayNames[6])],
- ['sun', Ext.util.Format.htmlDecode(Ext.Date.dayNames[0])],
+ ['sun', Ext.util.Format.htmlDecode(Ext.Date.dayNames[0])]
];
this.callParent();
}
diff --git a/www/manager6/form/GroupSelector.js b/www/manager6/form/GroupSelector.js
index 8404d5f..1bac2d1 100644
--- a/www/manager6/form/GroupSelector.js
+++ b/www/manager6/form/GroupSelector.js
@@ -31,7 +31,7 @@ Ext.define('PVE.form.GroupSelector', {
});
Ext.apply(me, {
- store: store,
+ store: store
});
me.callParent();
diff --git a/www/manager6/form/HotplugFeatureSelector.js b/www/manager6/form/HotplugFeatureSelector.js
index 23cd090..024471f 100644
--- a/www/manager6/form/HotplugFeatureSelector.js
+++ b/www/manager6/form/HotplugFeatureSelector.js
@@ -47,5 +47,5 @@ Ext.define('PVE.form.HotplugFeatureSelector', {
}
}
return data;
- },
+ }
});
diff --git a/www/manager6/form/KVComboBox.js b/www/manager6/form/KVComboBox.js
index 014a35e..beafed0 100644
--- a/www/manager6/form/KVComboBox.js
+++ b/www/manager6/form/KVComboBox.js
@@ -38,7 +38,7 @@ Ext.define('PVE.form.KVComboBox', {
me.store = Ext.create('Ext.data.ArrayStore', {
model: 'KeyValue',
- data : me.comboItems,
+ data : me.comboItems
});
if (me.initialConfig.editable === undefined) {
diff --git a/www/manager6/form/NodeSelector.js b/www/manager6/form/NodeSelector.js
index 8c69430..7193b97 100644
--- a/www/manager6/form/NodeSelector.js
+++ b/www/manager6/form/NodeSelector.js
@@ -56,7 +56,7 @@ Ext.define('PVE.form.NodeSelector', {
width: 100,
dataIndex: 'cpu'
}
- ],
+ ]
},
validator: function(value) {
diff --git a/www/manager6/form/RRDTypeSelector.js b/www/manager6/form/RRDTypeSelector.js
index 1742183..a912c71 100644
--- a/www/manager6/form/RRDTypeSelector.js
+++ b/www/manager6/form/RRDTypeSelector.js
@@ -44,6 +44,6 @@ Ext.define('PVE.form.RRDTypeSelector', {
if (state && state.id) {
this.setValue(state.id);
}
- },
+ }
});
diff --git a/www/manager6/form/RealmComboBox.js b/www/manager6/form/RealmComboBox.js
index ce59422..8ce767c 100644
--- a/www/manager6/form/RealmComboBox.js
+++ b/www/manager6/form/RealmComboBox.js
@@ -34,7 +34,7 @@ Ext.define('PVE.form.RealmComboBox', {
var me = this;
me.store = Ext.create('Ext.data.Store', {
- model: 'pve-domains',
+ model: 'pve-domains'
});
me.callParent();
diff --git a/www/manager6/form/StorageSelector.js b/www/manager6/form/StorageSelector.js
index 8c51bbb..c50ae66 100644
--- a/www/manager6/form/StorageSelector.js
+++ b/www/manager6/form/StorageSelector.js
@@ -97,7 +97,7 @@ Ext.define('PVE.form.StorageSelector', {
});
Ext.apply(me, {
- store: store,
+ store: store
});
me.callParent();
diff --git a/www/manager6/form/ViewSelector.js b/www/manager6/form/ViewSelector.js
index 202c3cc..0256b74 100644
--- a/www/manager6/form/ViewSelector.js
+++ b/www/manager6/form/ViewSelector.js
@@ -56,7 +56,7 @@ Ext.define('PVE.form.ViewSelector', {
reader: 'array'
},
data: groupdef,
- autoload: true,
+ autoload: true
});
Ext.apply(me, {
diff --git a/www/manager6/grid/FirewallRules.js b/www/manager6/grid/FirewallRules.js
index 12ac98e..4cc1e7a 100644
--- a/www/manager6/grid/FirewallRules.js
+++ b/www/manager6/grid/FirewallRules.js
@@ -38,7 +38,7 @@ Ext.define('PVE.form.FWMacroSelector', {
});
Ext.apply(me, {
- store: store,
+ store: store
});
me.callParent();
@@ -83,7 +83,7 @@ Ext.define('PVE.FirewallRulePanel', {
// form again.
xtype: 'hiddenfield',
name: 'modified_marker',
- value: '',
+ value: ''
},
{
xtype: 'pveKVComboBox',
diff --git a/www/manager6/grid/PoolMembers.js b/www/manager6/grid/PoolMembers.js
index 63a9d5a..aec15be 100644
--- a/www/manager6/grid/PoolMembers.js
+++ b/www/manager6/grid/PoolMembers.js
@@ -53,7 +53,7 @@ Ext.define('PVE.pool.AddVM', {
});
vmsField.setValue(selectedVms);
}
- },
+ }
},
columns: [
{
@@ -85,7 +85,7 @@ Ext.define('PVE.pool.AddVM', {
header: gettext('Type'),
dataIndex: 'type'
}
- ],
+ ]
});
Ext.apply(me, {
subject: gettext('Virtual Machine'),
diff --git a/www/manager6/grid/ResourceGrid.js b/www/manager6/grid/ResourceGrid.js
index 560ae51..935bdd0 100644
--- a/www/manager6/grid/ResourceGrid.js
+++ b/www/manager6/grid/ResourceGrid.js
@@ -226,7 +226,7 @@ Ext.define('PVE.grid.ResourceGrid', {
columnschanged: 'saveCurrentState',
columnresize: 'saveCurrentState',
columnmove: 'saveCurrentState',
- sortchange: 'saveCurrentState',
+ sortchange: 'saveCurrentState'
},
columns: coldef
});
diff --git a/www/manager6/ha/Config.js b/www/manager6/ha/Config.js
index a00bbfa..3572527 100644
--- a/www/manager6/ha/Config.js
+++ b/www/manager6/ha/Config.js
@@ -39,7 +39,7 @@ Ext.define('PVE.panel.HA', {
plugins: [{
ptype: 'lazyitems',
items: items
- }],
+ }]
});
me.callParent();
diff --git a/www/manager6/ha/GroupEdit.js b/www/manager6/ha/GroupEdit.js
index a72b2ec..0d9c3c5 100644
--- a/www/manager6/ha/GroupEdit.js
+++ b/www/manager6/ha/GroupEdit.js
@@ -47,7 +47,7 @@ Ext.define('PVE.ha.GroupInputPanel', {
name: 'nofailback',
uncheckedValue: 0,
fieldLabel: 'nofailback'
- },
+ }
];
me.columnB = [
diff --git a/www/manager6/ha/StatusView.js b/www/manager6/ha/StatusView.js
index 980eee1..a69b34c 100644
--- a/www/manager6/ha/StatusView.js
+++ b/www/manager6/ha/StatusView.js
@@ -41,7 +41,7 @@ Ext.define('PVE.ha.StatusView', {
store: store,
stateful: false,
viewConfig: {
- trackOver: false,
+ trackOver: false
},
columns: [
{
diff --git a/www/manager6/lxc/CmdMenu.js b/www/manager6/lxc/CmdMenu.js
index 467ce6e..9e358ed 100644
--- a/www/manager6/lxc/CmdMenu.js
+++ b/www/manager6/lxc/CmdMenu.js
@@ -108,7 +108,7 @@ Ext.define('PVE.lxc.CmdMenu', {
});
}
},
- { xtype: 'menuseparator', },
+ { xtype: 'menuseparator' },
{
text: gettext('Migrate'),
iconCls: 'fa fa-fw fa-send-o',
@@ -141,7 +141,7 @@ Ext.define('PVE.lxc.CmdMenu', {
// });
// }
// },
- { xtype: 'menuseparator', },
+ { xtype: 'menuseparator' },
{
text: gettext('Console'),
iconCls: 'fa fa-fw fa-terminal',
diff --git a/www/manager6/lxc/Network.js b/www/manager6/lxc/Network.js
index 05807d2..f6825b2 100644
--- a/www/manager6/lxc/Network.js
+++ b/www/manager6/lxc/Network.js
@@ -148,7 +148,7 @@ Ext.define('PVE.lxc.NetworkInputPanel', {
{
xtype: 'pveVlanField',
name: 'tag',
- value: cdata.tag,
+ value: cdata.tag
},
{
xtype: 'numberfield',
@@ -164,7 +164,7 @@ Ext.define('PVE.lxc.NetworkInputPanel', {
xtype: 'pvecheckbox',
fieldLabel: gettext('Firewall'),
name: 'firewall',
- checked: cdata.firewall,
+ checked: cdata.firewall
}
];
@@ -192,7 +192,7 @@ Ext.define('PVE.lxc.NetworkInputPanel', {
items: [
{
xtype: 'label',
- text: gettext('IPv4') + ':',
+ text: gettext('IPv4') + ':'
},
{
xtype: 'radiofield',
@@ -250,7 +250,7 @@ Ext.define('PVE.lxc.NetworkInputPanel', {
items: [
{
xtype: 'label',
- text: gettext('IPv6') + ':',
+ text: gettext('IPv6') + ':'
},
{
xtype: 'radiofield',
diff --git a/www/manager6/lxc/Summary.js b/www/manager6/lxc/Summary.js
index 462f7fc..3f13ee5 100644
--- a/www/manager6/lxc/Summary.js
+++ b/www/manager6/lxc/Summary.js
@@ -97,7 +97,7 @@ Ext.define('PVE.lxc.Summary', {
listeners: {
activate: function() { notesview.load(); rrdstore.startUpdate(); },
hide: rrdstore.stopUpdate,
- destroy: rrdstore.stopUpdate,
+ destroy: rrdstore.stopUpdate
}
});
diff --git a/www/manager6/node/Config.js b/www/manager6/node/Config.js
index 08a5886..086beef 100644
--- a/www/manager6/node/Config.js
+++ b/www/manager6/node/Config.js
@@ -83,7 +83,7 @@ Ext.define('PVE.node.Config', {
iconCls: 'fa fa-fw fa-send-o',
handler: function() {
var win = Ext.create('PVE.window.MigrateAll', {
- nodename: nodename,
+ nodename: nodename
});
win.show();
}
@@ -139,7 +139,7 @@ Ext.define('PVE.node.Config', {
{
title: gettext('Services'),
itemId: 'services',
- xtype: 'pveNodeServiceView',
+ xtype: 'pveNodeServiceView'
},
{
title: gettext('Network'),
diff --git a/www/manager6/node/NetworkEdit.js b/www/manager6/node/NetworkEdit.js
index 52af359..ddd41da 100644
--- a/www/manager6/node/NetworkEdit.js
+++ b/www/manager6/node/NetworkEdit.js
@@ -59,7 +59,7 @@ Ext.define('PVE.node.NetworkEdit', {
xtype: 'pvecheckbox',
fieldLabel: gettext('VLAN aware'),
name: 'bridge_vlan_aware',
- deleteEmpty: !me.create,
+ deleteEmpty: !me.create
});
column2.push({
xtype: 'textfield',
diff --git a/www/manager6/node/NetworkView.js b/www/manager6/node/NetworkView.js
index 0cfe933..be64c27 100644
--- a/www/manager6/node/NetworkView.js
+++ b/www/manager6/node/NetworkView.js
@@ -333,7 +333,7 @@ Ext.define('PVE.node.NetworkView', {
'iface', 'type', 'active', 'autostart',
'bridge_ports', 'slaves',
'address', 'netmask', 'gateway',
- 'address6', 'netmask6', 'gateway6',
+ 'address6', 'netmask6', 'gateway6'
],
idProperty: 'iface'
});
diff --git a/www/manager6/node/Subscription.js b/www/manager6/node/Subscription.js
index 50b3ad3..dc80b7a 100644
--- a/www/manager6/node/Subscription.js
+++ b/www/manager6/node/Subscription.js
@@ -72,7 +72,7 @@ Ext.define('PVE.node.Subscription', {
document.body.removeChild(element);
}
}
- },
+ }
],
items: view
});
@@ -140,7 +140,7 @@ Ext.define('PVE.node.Subscription', {
renderer: PVE.Utils.render_timestamp
},
nextduedate: {
- header: gettext('Next due date'),
+ header: gettext('Next due date')
}
};
diff --git a/www/manager6/node/Summary.js b/www/manager6/node/Summary.js
index 3306ad3..0c0483d 100644
--- a/www/manager6/node/Summary.js
+++ b/www/manager6/node/Summary.js
@@ -99,7 +99,7 @@ Ext.define('PVE.node.Summary', {
});
var rrdstore = Ext.create('PVE.data.RRDStore', {
- rrdurl: "/api2/json/nodes/" + nodename + "/rrddata",
+ rrdurl: "/api2/json/nodes/" + nodename + "/rrddata"
});
Ext.apply(me, {
@@ -134,13 +134,13 @@ Ext.define('PVE.node.Summary', {
title: gettext('Network traffic'),
fields: ['netin','netout'],
store: rrdstore
- },
- ],
+ }
+ ]
},
listeners: {
activate: function() { rstore.startUpdate(); rrdstore.startUpdate(); },
hide: function() { rstore.stopUpdate(); rrdstore.stopUpdate(); },
- destroy: function() { rstore.stopUpdate(); rrdstore.stopUpdate(); },
+ destroy: function() { rstore.stopUpdate(); rrdstore.stopUpdate(); }
}
});
diff --git a/www/manager6/node/Tasks.js b/www/manager6/node/Tasks.js
index 7fe7317..5dc13f6 100644
--- a/www/manager6/node/Tasks.js
+++ b/www/manager6/node/Tasks.js
@@ -163,7 +163,7 @@ Ext.define('PVE.node.Tasks', {
view_btn.setDisabled(!(selections && selections[0]));
},
show: function() { reload_task.delay(10); },
- destroy: function() { reload_task.cancel(); },
+ destroy: function() { reload_task.cancel(); }
}
});
diff --git a/www/manager6/panel/ConfigPanel.js b/www/manager6/panel/ConfigPanel.js
index f79ffc9..9afdd7d 100644
--- a/www/manager6/panel/ConfigPanel.js
+++ b/www/manager6/panel/ConfigPanel.js
@@ -42,7 +42,7 @@ Ext.define('PVE.panel.Config', {
tbar.unshift({
xtype: 'tbtext',
text: title,
- baseCls: 'x-panel-header-text',
+ baseCls: 'x-panel-header-text'
});
diff --git a/www/manager6/panel/Firewall.js b/www/manager6/panel/Firewall.js
index de88427..d37eb29 100644
--- a/www/manager6/panel/Firewall.js
+++ b/www/manager6/panel/Firewall.js
@@ -92,7 +92,7 @@ Ext.define('PVE.panel.Firewall', {
plugins: [{
ptype: 'lazyitems',
items: items
- }],
+ }]
});
me.callParent();
diff --git a/www/manager6/panel/RRDChart.js b/www/manager6/panel/RRDChart.js
index 5dd80a8..2b3db50 100644
--- a/www/manager6/panel/RRDChart.js
+++ b/www/manager6/panel/RRDChart.js
@@ -11,17 +11,17 @@ Ext.define('PVE.widget.RRDChart', {
position: 'left',
grid: true,
renderer: 'leftAxisRenderer',
- minimum: 0,
+ minimum: 0
}, {
type: 'time',
position: 'bottom',
grid: true,
- fields: ['time'],
+ fields: ['time']
}],
legend: {
docked: 'right',
// we set this that all graphs have same width
- width: 140,
+ width: 140
},
listeners: {
afterrender: 'onAfterRender'
@@ -39,7 +39,7 @@ Ext.define('PVE.widget.RRDChart', {
'disk',
'maxdisk',
'total',
- 'used',
+ 'used'
],
bytespersArr: [
'netin',
@@ -122,7 +122,7 @@ Ext.define('PVE.widget.RRDChart', {
fill: true,
style: {
lineWidth: 1.5,
- opacity: 0.60,
+ opacity: 0.60
},
marker: {
opacity: 0,
diff --git a/www/manager6/qemu/BootOrderEdit.js b/www/manager6/qemu/BootOrderEdit.js
index 2954acf..e6a9b9c 100644
--- a/www/manager6/qemu/BootOrderEdit.js
+++ b/www/manager6/qemu/BootOrderEdit.js
@@ -121,7 +121,7 @@ Ext.define('PVE.qemu.BootOrderPanel', {
name: 'bd1',
allowBlank: false,
listeners: {
- change: me.recomputeSelection,
+ change: me.recomputeSelection
}
}),
Ext.createWidget('pveKVComboBox', {
@@ -130,7 +130,7 @@ Ext.define('PVE.qemu.BootOrderPanel', {
name: 'bd2',
allowBlank: false,
listeners: {
- change: me.recomputeSelection,
+ change: me.recomputeSelection
}
}),
Ext.createWidget('pveKVComboBox', {
@@ -139,9 +139,9 @@ Ext.define('PVE.qemu.BootOrderPanel', {
name: 'bd3',
allowBlank: false,
listeners: {
- change: me.recomputeSelection,
+ change: me.recomputeSelection
}
- }),
+ })
];
Ext.apply(me, { items: me.comboboxes });
me.callParent();
diff --git a/www/manager6/qemu/CPUOptions.js b/www/manager6/qemu/CPUOptions.js
index ce30ebb..ae31987 100644
--- a/www/manager6/qemu/CPUOptions.js
+++ b/www/manager6/qemu/CPUOptions.js
@@ -76,7 +76,7 @@ Ext.define('PVE.qemu.CPUOptions', {
var me = this;
var ipanel = Ext.create('PVE.qemu.CPUOptionsInputPanel', {
- maxvcpus: me.maxvcpus,
+ maxvcpus: me.maxvcpus
});
Ext.apply(me, {
diff --git a/www/manager6/qemu/Config.js b/www/manager6/qemu/Config.js
index 303fdef..8b764b0 100644
--- a/www/manager6/qemu/Config.js
+++ b/www/manager6/qemu/Config.js
@@ -54,7 +54,7 @@ Ext.define('PVE.qemu.Config', {
handler: function() {
vm_command('start');
},
- iconCls: 'fa fa-play',
+ iconCls: 'fa fa-play'
});
var migrateBtn = Ext.create('Ext.Button', {
@@ -97,7 +97,7 @@ Ext.define('PVE.qemu.Config', {
handler: function() {
vm_command("stop", { timeout: 30 });
},
- iconCls: 'fa fa-stop',
+ iconCls: 'fa fa-stop'
}]
},
iconCls: 'fa fa-power-off'
diff --git a/www/manager6/qemu/MemoryEdit.js b/www/manager6/qemu/MemoryEdit.js
index f6a4bc0..1bddeb9 100644
--- a/www/manager6/qemu/MemoryEdit.js
+++ b/www/manager6/qemu/MemoryEdit.js
@@ -56,7 +56,7 @@ Ext.define('PVE.qemu.MemoryInputPanel', {
hotplug: me.hotplug,
fieldLabel: gettext('Memory') + ' (MB)',
labelAlign: 'right',
- labelWidth: labelWidth,
+ labelWidth: labelWidth
},
{
xtype: 'radiofield',
@@ -118,7 +118,7 @@ Ext.define('PVE.qemu.MemoryInputPanel', {
allowBlank: true,
emptyText: PVE.Utils.defaultText + ' (1000)',
submitEmptyText: false
- },
+ }
];
if (me.insideWizard) {
@@ -147,7 +147,7 @@ Ext.define('PVE.qemu.MemoryEdit', {
}
var ipanel = Ext.create('PVE.qemu.MemoryInputPanel', {
- hotplug: memoryhotplug,
+ hotplug: memoryhotplug
});
Ext.apply(me, {
@@ -169,7 +169,7 @@ Ext.define('PVE.qemu.MemoryEdit', {
maxmemory: data.memory,
balloon: data.balloon,
shares: data.shares,
- memoryType: data.balloon ? 'dynamic' : 'fixed',
+ memoryType: data.balloon ? 'dynamic' : 'fixed'
};
ipanel.setValues(values);
}
diff --git a/www/manager6/qemu/ProcessorEdit.js b/www/manager6/qemu/ProcessorEdit.js
index b3d52cb..b64c70c 100644
--- a/www/manager6/qemu/ProcessorEdit.js
+++ b/www/manager6/qemu/ProcessorEdit.js
@@ -76,8 +76,8 @@ Ext.define('PVE.qemu.ProcessorInputPanel', {
xtype: 'pvecheckbox',
fieldLabel: gettext('Enable NUMA'),
name: 'numa',
- uncheckedValue: 0,
- },
+ uncheckedValue: 0
+ }
];
diff --git a/www/manager6/qemu/Smbios1Edit.js b/www/manager6/qemu/Smbios1Edit.js
index 78bc193..0412bc2 100644
--- a/www/manager6/qemu/Smbios1Edit.js
+++ b/www/manager6/qemu/Smbios1Edit.js
@@ -33,43 +33,43 @@ Ext.define('PVE.qemu.Smbios1InputPanel', {
xtype: 'textfield',
fieldLabel: 'UUID',
regex: /^[a-fA-F0-9]{8}(?:-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}$/,
- name: 'uuid',
+ name: 'uuid'
},
{
xtype: 'textfield',
fieldLabel: gettext('Manufacturer'),
regex: /^\S+$/,
- name: 'manufacturer',
+ name: 'manufacturer'
},
{
xtype: 'textfield',
fieldLabel: gettext('Product'),
regex: /^\S+$/,
- name: 'product',
+ name: 'product'
},
{
xtype: 'textfield',
fieldLabel: gettext('Version'),
regex: /^\S+$/,
- name: 'version',
+ name: 'version'
},
{
xtype: 'textfield',
fieldLabel: gettext('Serial'),
regex: /^\S+$/,
- name: 'serial',
+ name: 'serial'
},
{
xtype: 'textfield',
fieldLabel: gettext('SKU'),
regex: /^\S+$/,
- name: 'sku',
+ name: 'sku'
},
{
xtype: 'textfield',
fieldLabel: gettext('Family'),
regex: /^\S+$/,
- name: 'family',
+ name: 'family'
}
];
diff --git a/www/manager6/qemu/Summary.js b/www/manager6/qemu/Summary.js
index 189e6be..6115e02 100644
--- a/www/manager6/qemu/Summary.js
+++ b/www/manager6/qemu/Summary.js
@@ -45,7 +45,7 @@ Ext.define('PVE.qemu.Summary', {
});
var rrdstore = Ext.create('PVE.data.RRDStore', {
- rrdurl: "/api2/json/nodes/" + nodename + "/qemu/" + vmid + "/rrddata",
+ rrdurl: "/api2/json/nodes/" + nodename + "/qemu/" + vmid + "/rrddata"
});
Ext.apply(me, {
@@ -91,12 +91,12 @@ Ext.define('PVE.qemu.Summary', {
fields: ['diskread','diskwrite'],
store: rrdstore
}
- ],
+ ]
},
listeners: {
activate: function() {notesview.load(); rrdstore.startUpdate();},
hide: rrdstore.stopUpdate,
- destroy: rrdstore.stopUpdate,
+ destroy: rrdstore.stopUpdate
}
});
diff --git a/www/manager6/storage/ContentView.js b/www/manager6/storage/ContentView.js
index 86f6201..5f1c7be 100644
--- a/www/manager6/storage/ContentView.js
+++ b/www/manager6/storage/ContentView.js
@@ -193,7 +193,7 @@ Ext.define('PVE.storage.Upload', {
xtype: 'filefield',
name: 'filename',
buttonText: gettext('Select File...'),
- allowBlank: false,
+ allowBlank: false
},
pbar
]
@@ -323,7 +323,7 @@ Ext.define('PVE.storage.ContentView', {
stateful: false,
viewConfig: {
trackOver: false,
- loadMask: false,
+ loadMask: false
},
initComponent : function() {
var me = this;
@@ -386,7 +386,7 @@ Ext.define('PVE.storage.ContentView', {
var win = Ext.create('PVE.storage.Upload', {
nodename: nodename,
storage: storage,
- contents: me.contents,
+ contents: me.contents
});
win.show();
win.on('destroy', reload);
@@ -394,7 +394,7 @@ Ext.define('PVE.storage.ContentView', {
});
me.statusStore = Ext.create('PVE.data.ObjectStore', {
- url: '/api2/json/nodes/' + nodename + '/storage/' + storage + '/status',
+ url: '/api2/json/nodes/' + nodename + '/storage/' + storage + '/status'
});
Ext.apply(me, {
diff --git a/www/manager6/storage/GlusterFsEdit.js b/www/manager6/storage/GlusterFsEdit.js
index 44aa982..5640da8 100644
--- a/www/manager6/storage/GlusterFsEdit.js
+++ b/www/manager6/storage/GlusterFsEdit.js
@@ -48,7 +48,7 @@ Ext.define('PVE.storage.GlusterFsScan', {
});
Ext.apply(me, {
- store: store,
+ store: store
});
me.callParent();
@@ -107,7 +107,7 @@ Ext.define('PVE.storage.GlusterFsInputPanel', {
name: 'server2',
value: '',
fieldLabel: gettext('Second Server'),
- allowBlank: true,
+ allowBlank: true
},
{
xtype: me.create ? 'pveGlusterFsScan' : 'displayfield',
diff --git a/www/manager6/storage/IScsiEdit.js b/www/manager6/storage/IScsiEdit.js
index 8bfb58f..8ed6218 100644
--- a/www/manager6/storage/IScsiEdit.js
+++ b/www/manager6/storage/IScsiEdit.js
@@ -47,7 +47,7 @@ Ext.define('PVE.storage.IScsiScan', {
});
Ext.apply(me, {
- store: store,
+ store: store
});
me.callParent();
diff --git a/www/manager6/storage/LVMEdit.js b/www/manager6/storage/LVMEdit.js
index 39d70ef..e409d89 100644
--- a/www/manager6/storage/LVMEdit.js
+++ b/www/manager6/storage/LVMEdit.js
@@ -24,7 +24,7 @@ Ext.define('PVE.storage.VgSelector', {
Ext.apply(me, {
store: store,
listConfig: {
- loadingText: gettext('Scanning...'),
+ loadingText: gettext('Scanning...')
}
});
@@ -72,7 +72,7 @@ Ext.define('PVE.storage.BaseStorageSelector', {
store.loadData([{ storage: '' }], true);
Ext.apply(me, {
- store: store,
+ store: store
});
me.callParent();
diff --git a/www/manager6/storage/LvmThinEdit.js b/www/manager6/storage/LvmThinEdit.js
index 3fee638..a119e5a 100644
--- a/www/manager6/storage/LvmThinEdit.js
+++ b/www/manager6/storage/LvmThinEdit.js
@@ -46,7 +46,7 @@ Ext.define('PVE.storage.TPoolSelector', {
Ext.apply(me, {
store: store,
listConfig: {
- loadingText: gettext('Scanning...'),
+ loadingText: gettext('Scanning...')
}
});
@@ -81,7 +81,7 @@ Ext.define('PVE.storage.BaseVGSelector', {
Ext.apply(me, {
store: store,
listConfig: {
- loadingText: gettext('Scanning...'),
+ loadingText: gettext('Scanning...')
}
});
diff --git a/www/manager6/storage/NFSEdit.js b/www/manager6/storage/NFSEdit.js
index e9f398f..d435215 100644
--- a/www/manager6/storage/NFSEdit.js
+++ b/www/manager6/storage/NFSEdit.js
@@ -48,7 +48,7 @@ Ext.define('PVE.storage.NFSScan', {
});
Ext.apply(me, {
- store: store,
+ store: store
});
me.callParent();
diff --git a/www/manager6/storage/StatusView.js b/www/manager6/storage/StatusView.js
index d988a88..c90e73f 100644
--- a/www/manager6/storage/StatusView.js
+++ b/www/manager6/storage/StatusView.js
@@ -61,7 +61,7 @@ Ext.define('PVE.storage.StatusView', {
}
Ext.apply(me, {
- url: "/api2/json/nodes/" + nodename + "/storage/" + storage + "/status",
+ url: "/api2/json/nodes/" + nodename + "/storage/" + storage + "/status"
});
me.callParent();
diff --git a/www/manager6/storage/Summary.js b/www/manager6/storage/Summary.js
index 2fb08a3..43b1b02 100644
--- a/www/manager6/storage/Summary.js
+++ b/www/manager6/storage/Summary.js
@@ -34,7 +34,7 @@ Ext.define('PVE.storage.Summary', {
var rstore = statusview.rstore;
var rrdstore = Ext.create('PVE.data.RRDStore', {
- rrdurl: "/api2/json/nodes/" + nodename + "/storage/" + storage + "/rrddata",
+ rrdurl: "/api2/json/nodes/" + nodename + "/storage/" + storage + "/rrddata"
});
Ext.apply(me, {
@@ -51,7 +51,7 @@ Ext.define('PVE.storage.Summary', {
listeners: {
activate: function() { rstore.startUpdate(); rrdstore.startUpdate(); },
hide: function() { rstore.stopUpdate(); rrdstore.stopUpdate(); },
- destroy: function() { rstore.stopUpdate(); rrdstore.stopUpdate(); },
+ destroy: function() { rstore.stopUpdate(); rrdstore.stopUpdate(); }
}
});
diff --git a/www/manager6/storage/ZFSPoolEdit.js b/www/manager6/storage/ZFSPoolEdit.js
index 4328b1c..d26eb67 100644
--- a/www/manager6/storage/ZFSPoolEdit.js
+++ b/www/manager6/storage/ZFSPoolEdit.js
@@ -6,7 +6,7 @@ Ext.define('PVE.storage.ZFSPoolSelector', {
queryMode: 'local',
editable: false,
listConfig: {
- loadingText: gettext('Scanning...'),
+ loadingText: gettext('Scanning...')
},
initComponent : function() {
var me = this;
@@ -25,7 +25,7 @@ Ext.define('PVE.storage.ZFSPoolSelector', {
});
Ext.apply(me, {
- store: store,
+ store: store
});
me.callParent();
diff --git a/www/manager6/tree/ResourceTree.js b/www/manager6/tree/ResourceTree.js
index 1f5a2c9..d8289e6 100644
--- a/www/manager6/tree/ResourceTree.js
+++ b/www/manager6/tree/ResourceTree.js
@@ -32,7 +32,7 @@ Ext.define('PVE.tree.ResourceTree', {
iconCls: 'fa fa-file-o fa-dark x-fa-tree-template'
},
datacenter: {
- iconCls: 'fa fa-server x-fa-tree-datacenter',
+ iconCls: 'fa fa-server x-fa-tree-datacenter'
}
}
},
diff --git a/www/manager6/window/Edit.js b/www/manager6/window/Edit.js
index e150cf1..28067a6 100644
--- a/www/manager6/window/Edit.js
+++ b/www/manager6/window/Edit.js
@@ -242,7 +242,7 @@ Ext.define('PVE.window.Edit', {
modal: true,
width: twoColumn ? colwidth*2 : colwidth,
border: false,
- items: [ me.formPanel ],
+ items: [ me.formPanel ]
});
me.callParent();
diff --git a/www/manager6/window/MigrateAll.js b/www/manager6/window/MigrateAll.js
index eebe2b8..525735b 100644
--- a/www/manager6/window/MigrateAll.js
+++ b/www/manager6/window/MigrateAll.js
@@ -55,7 +55,7 @@ Ext.define('PVE.window.MigrateAll', {
value: 1,
fieldLabel: 'Parallel jobs',
allowBlank: false
- },
+ }
]
});
diff --git a/www/manager6/window/SafeDestroy.js b/www/manager6/window/SafeDestroy.js
index 394f245..46fc103 100644
--- a/www/manager6/window/SafeDestroy.js
+++ b/www/manager6/window/SafeDestroy.js
@@ -68,7 +68,7 @@ Ext.define('PVE.window.SafeDestroy', {
xtype: 'component',
cls: [ Ext.baseCSSPrefix + 'message-box-icon',
Ext.baseCSSPrefix + 'message-box-warning',
- Ext.baseCSSPrefix + 'dlg-icon'],
+ Ext.baseCSSPrefix + 'dlg-icon']
},
{
xtype: 'container',
@@ -91,7 +91,7 @@ Ext.define('PVE.window.SafeDestroy', {
hideTrigger: true,
allowBlank: false
}
- ],
+ ]
}
],
buttons: [
--
2.1.4
More information about the pve-devel
mailing list