// update the usage widget
me.down('#space').updateValue(used/total, text);
- // TODO: logic for jewel (iops splitted in read/write)
+ // TODO: logic for jewel (iops split in read/write)
var iops = rec.data.pgmap.op_per_sec;
var readiops = rec.data.pgmap.read_op_per_sec;
if (!success || records.length < 1) {
// if ceph status is already visible
- // dont stop to update
+ // don't stop to update
if (cephstatus.isVisible()) {
return;
}
- // try all nodes until we either get a successfull api call,
+ // try all nodes until we either get a successful api call,
// or we tried all nodes
if (++me.nodeIndex >= me.nodeList.length) {
me.cephstore.stopUpdate();
data: {
in_totp_tab: true,
tfa_required: false,
- tfa_type: null, // dependecies of formulas should not be undefined
+ tfa_type: null, // dependencies of formulas should not be undefined
valid: false,
u2f_available: true
},
// hides the size field (e.g, for the efi disk dialog)
hideSize: false,
- // sets the intial size value
+ // sets the initial size value
// string because else we get a type confusion
defaultSize: '32',
me.callParent([{ hotplug: newVal }]);
},
- // overide framework function to
+ // override framework function to
// assemble the hotplug value
getSubmitData: function() {
var me = this,
var disable_query_for_ips = function(f, value) {
if (value === null ||
value.match(/^\d/)) { // IP address starts with \d
- f.queryDelay = 9999999999; // hack: disbale with long delay
+ f.queryDelay = 9999999999; // hack: disable with long delay
} else {
f.queryDelay = 10;
}
extend: 'Ext.panel.Panel',
alias: 'widget.pvePanelConfig',
- showSearch: true, // add a ressource grid with a search button as first tab
- viewFilter: undefined, // a filter to pass to that ressource grid
+ showSearch: true, // add a resource grid with a search button as first tab
+ viewFilter: undefined, // a filter to pass to that resource grid
tbarSpacing: true, // if true, adds a spacer after the title in tbar
var newitem = info.node;
// when clicking on the expand arrow,
- // we dont select items, but still want
+ // we don't select items, but still want
// the original behaviour
if (info.select === false) {
return;
/*
- * Left Treepanel, containing all the ressources we manage in this datacenter: server nodes, server storages, VMs and Containers
+ * Left Treepanel, containing all the resources we manage in this datacenter: server nodes, server storages, VMs and Containers
*/
Ext.define('PVE.tree.ResourceTree', {
extend: 'Ext.tree.TreePanel',
}
}
- // explicitely check for node, since
+ // explicitly check for node, since
// in some views, node is not a grouping
// attribute
if (!moved && item.data.node !== olditem.data.node) {
/* Popup a message window
- * where the user has to manually enter the ressource ID
+ * where the user has to manually enter the resource ID
* to enable the destroy button
*/
Ext.define('PVE.window.SafeDestroy', {