},
},
'button[name=reset]': {
- click: function () {
+ click: function() {
var blacklist = ['GuiCap', 'login-username', 'dash-storages'];
var sp = Ext.state.Manager.getProvider();
var state;
},
},
'button[name=clear-username]': {
- click: function () {
+ click: function() {
var me = this;
var usernamefield = me.lookupReference('savedUserName');
var sp = Ext.state.Manager.getProvider();
var items = [];
me.suspendEvent('selectionchange');
var storages = sp.get('dash-storages') || '';
- storages.split(',').forEach(function(storage){
+ storages.split(',').forEach(function(storage) {
// we have to get the records
// to be able to select them
if (storage !== '') {
property: 'type',
value: 'storage',
}],
- sorters: [ 'node', 'storage'],
+ sorters: ['node', 'storage'],
},
},
{
xtype: 'box',
- autoEl: { tag: 'hr'},
+ autoEl: { tag: 'hr' },
},
{
xtype: 'container',
- layout: 'hbox',
+ layout: 'hbox',
items: [
{
xtype: 'displayfield',
},
{
xtype: 'box',
- autoEl: { tag: 'hr'},
+ autoEl: { tag: 'hr' },
},
{
xtype: 'container',
},
{
xtype: 'box',
- autoEl: { tag: 'hr'},
+ autoEl: { tag: 'hr' },
},
{
xtype: 'proxmoxKVComboBox',
// is shown
margin: '0 2 10 0',
},
- items:[
+ items: [
{
xtype: 'fieldset',
itemId: 'xtermjs',