statics: {
typeDefaults: {
- node: {
+ node: {
iconCls: 'fa fa-building',
text: gettext('Nodes')
},
- pool: {
+ pool: {
iconCls: 'fa fa-tags',
text: gettext('Resource Pool')
},
}
}
groupinfo.leaf = false;
- groupinfo.groupbyid = v;
+ groupinfo.groupbyid = v;
group = me.addChildSorted(node, groupinfo);
}
if (info.type === groupby) {
if (index.hasOwnProperty(key)) {
var olditem = index[key];
- // getById() use find(), which is slow (ExtJS4 DP5)
+ // getById() use find(), which is slow (ExtJS4 DP5)
//var item = rstore.getById(olditem.data.id);
var item = rstore.data.get(olditem.data.id);
me.callParent();
var sm = me.getSelectionModel();
- sm.on('select', function(sm, n) {
+ sm.on('select', function(sm, n) {
sp.set(stateid, { value: n.data.id});
});