});
},
- initComponent : function() {
+ initComponent: function() {
var me = this;
var store = new Ext.data.Store({
continue;
}
addMenuItems.push({
- text: PVE.Utils.format_storage_type(type),
+ text: PVE.Utils.format_storage_type(type),
iconCls: 'fa fa-fw fa-' + storage.faIcon,
handler: addHandleGenerator(type),
});
me.callParent();
},
}, function() {
-
Ext.define('pve-storage', {
extend: 'Ext.data.Model',
fields: [
'path', 'type', 'content', 'server', 'portal', 'target', 'export', 'storage',
- { name: 'shared', type: 'boolean'},
- { name: 'disable', type: 'boolean'},
+ { name: 'shared', type: 'boolean' },
+ { name: 'disable', type: 'boolean' },
],
idProperty: 'storage',
});
-
});