Commit ebb4d6a43b119c997a21284235dab8fea29ca99a

Authored by elena
1 parent 38c35fa6

petit bug with setting nodeType

Showing 1 changed file with 5 additions and 1 deletions   Show diff stats
js/app/models/StatisticsNode.js
@@ -22,7 +22,11 @@ Ext.define('amdaModel.StatisticsNode', { @@ -22,7 +22,11 @@ Ext.define('amdaModel.StatisticsNode', {
22 {name: 'objectDataModel', type: 'string', defaultValue:'amdaModel.Statistics'}, 22 {name: 'objectDataModel', type: 'string', defaultValue:'amdaModel.Statistics'},
23 {name: 'jobNode', type: 'string', defaultValue: 'amdaModel.BkgJobNode'} 23 {name: 'jobNode', type: 'string', defaultValue: 'amdaModel.BkgJobNode'}
24 ], 24 ],
25 - 25 +
  26 + constructor: function(config) {
  27 + this.callParent(arguments);
  28 + this.set('nodeType','statistics');
  29 + },
26 isExecutable: function(){ 30 isExecutable: function(){
27 return true; 31 return true;
28 } 32 }