me.portal = portal;
},
- initComponent : function() {
+ initComponent: function() {
var me = this;
if (!me.nodename) {
}
var store = Ext.create('Ext.data.Store', {
- fields: [ 'target', 'portal' ],
+ fields: ['target', 'portal'],
proxy: {
type: 'proxmox',
url: '/api2/json/nodes/' + me.nodename + '/scan/iscsi',
},
setValues: function(values) {
- values.luns = (values.content.indexOf('images') !== -1) ? true : false;
+ values.luns = (values.content.indexOf('images') !== -1);
this.callParent([values]);
},
- initComponent : function() {
+ initComponent: function() {
var me = this;
me.column1 = [