Commit 5f7d3cffe73f4f72fd0b56a6d0396bf5fc140e91

Authored by Elena.Budnik
1 parent f9d70d0d

no description for statistics for the moment

Showing 2 changed files with 6 additions and 3 deletions   Show diff stats
js/app/models/Statistics.js
... ... @@ -25,9 +25,9 @@ Ext.define('amdaModel.Statistics', {
25 25 values.timesrc = this.get('timesrc');
26 26 values.name = 'test'; //this.get('name');
27 27  
28   - if (this.get('description').match(/[a-z,0-9]/gi) != null) {
29   - values.description = this.get('description');
30   - }
  28 +// if (this.get('description').match(/[a-z,0-9]/gi) != null) {
  29 +// values.description = this.get('description');
  30 +// }
31 31 // if (this.get('history').match(/[a-z,0-9]/gi) != null) {
32 32 // values.history = this.get('history');
33 33 // }
... ...
php/classes/RequestMgr.php
... ... @@ -264,6 +264,9 @@ class RequestMgr extends AmdaObjectMgr
264 264 if (count($argsTab) > 0) $args[] = $argsTab;
265 265  
266 266 break;
  267 + case 'statistics' :
  268 + return array('success' => true);
  269 + break;
267 270 default :
268 271 return array('success' => false, 'message' => "unknown action ".$obj->nodeType);
269 272 }
... ...