Commit abb54096906e8829c24f988f2f3fd2cdf446f6d1

Authored by Elena.Budnik
1 parent dc5a7f83

time interval by drag-drop simu param

Showing 1 changed file with 6 additions and 6 deletions   Show diff stats
php/classes/AmdaAction.php
... ... @@ -379,19 +379,19 @@ class AmdaAction
379 379  
380 380 if ( $child->tagName == 'parameter')
381 381 {
382   - if ($child->parentNode->hasAttribute('dataStart'))
  382 + if ($child->parentNode->hasAttribute('globalStart'))
383 383 {
384   - $globalStart = $child->parentNode->getAttribute('dataStart');
385   - $globalStop = $child->parentNode->getAttribute('dataStop');
  384 + $globalStart = $child->parentNode->getAttribute('globalStart');
  385 + $globalStop = $child->parentNode->getAttribute('globalStop');
386 386 }
387 387 }
388 388  
389 389 if ( $child->tagName == 'component')
390 390 {
391   - if ($child->parentNode->parentNode->hasAttribute('dataStart'))
  391 + if ($child->parentNode->parentNode->hasAttribute('globalStart'))
392 392 {
393   - $globalStart = $child->parentNode->parentNode->getAttribute('dataStart');
394   - $globalStop = $child->parentNode->parentNode->getAttribute('dataStop');
  393 + $globalStart = $child->parentNode->parentNode->getAttribute('globalStart');
  394 + $globalStop = $child->parentNode->parentNode->getAttribute('globalStop');
395 395 }
396 396 }
397 397  
... ...