border: false,
store: {
proxy: {
- type: 'proxmox'
- }
+ type: 'proxmox',
+ },
},
columns: [
text: 'Runtime Updatable',
hidden: true,
width: 80,
- renderer: Proxmox.Utils.format_boolean
+ renderer: Proxmox.Utils.format_boolean,
},
],
Proxmox.Utils.monStoreErrors(me, me.getStore());
me.getStore().load();
- }
+ },
});
Ext.define('PVE.node.CephConfig', {
extend: 'Ext.panel.Panel',
me.update(gettext('Error') + " " + response.htmlStatus);
var msg = response.htmlStatus;
PVE.Utils.showCephInstallOrMask(me.ownerCt, msg, me.pveSelNode.data.node,
- function(win){
- me.mon(win, 'cephInstallWindowClosed', function(){
+ function(win) {
+ me.mon(win, 'cephInstallWindowClosed', function() {
me.load();
});
- }
+ },
);
-
},
success: function(response, opts) {
var data = response.result.data;
me.update(Ext.htmlEncode(data));
- }
+ },
});
},
listeners: {
activate: function() {
me.load();
- }
- }
+ },
+ },
});
me.callParent();
me.load();
- }
+ },
});
Ext.define('PVE.node.CephConfigCrush', {
items: [{
title: gettext('Configuration'),
xtype: 'pveNodeCephConfig',
- region: 'center'
+ region: 'center',
},
{
title: 'Crush Map', // do not localize
xtype: 'pveNodeCephCrushMap',
region: 'east',
split: true,
- width: '50%'
+ width: '50%',
},
{
title: gettext('Configuration Database'),
region: 'south',
split: true,
weight: -30,
- height: '50%'
+ height: '50%',
}],
initComponent: function() {
var me = this;
me.defaults = {
- pveSelNode: me.pveSelNode
+ pveSelNode: me.pveSelNode,
};
me.callParent();
- }
+ },
});