Commit e511f2cc16d4c9b0c78724a7033ab17872b03f54

Authored by elena
1 parent ccb80610

stat node

Showing 1 changed file with 9 additions and 7 deletions   Show diff stats
js/app/models/BkgJobNode.js
... ... @@ -170,18 +170,20 @@ Ext.define('amdaModel.BkgJobNode', {
170 170 Ext.TaskManager.stop(amdaDesktop.JobsMgr.updateStatus);
171 171 amdaDesktop.JobsMgr.updateStatus = null;
172 172  
173   - switch (this.get('jobType')) {
174   - case 'condition' : var type = 'Data Mining '; break;
175   - case 'request' : var type = 'Plot '; break;
176   - case 'download' : var type = 'Download '; break;
177   - default: var type = 'unknown';
178   - }
  173 + switch (this.get('jobType')) {
  174 + case 'condition' : var type = 'Data Mining '; break;
  175 + case 'request' : var type = 'Plot '; break;
  176 + case 'download' : var type = 'Download '; break;
  177 + case 'statistics' : var type = 'Statistics '; break;
  178 + default: var type = 'unknown';
  179 + }
  180 +
179 181 var message = Ext.Date.format(new Date(), 'd-m-Y H:i:s: ') + ': '+ type + ' '+this.get('text') + ' killed';
180 182 myDesktopApp.getLoadedModule(myDesktopApp.dynamicModules.explorer.id, true, function (module) {
181 183 module.addLogMessage(message);
182 184 });
183 185 }
184   -//delete fieldset from Result Module if it is open
  186 + //delete fieldset from Result Module if it is open
185 187 else {
186 188 var me = this;
187 189 myDesktopApp.getLoadedModule(myDesktopApp.dynamicModules.result.id, true, function (module) {
... ...