From abb54096906e8829c24f988f2f3fd2cdf446f6d1 Mon Sep 17 00:00:00 2001
From: Elena.Budnik <ebudnik@irap.omp.eu>
Date: Thu, 19 Apr 2018 17:43:25 +0200
Subject: [PATCH] time interval by drag-drop simu param

---
 php/classes/AmdaAction.php | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/php/classes/AmdaAction.php b/php/classes/AmdaAction.php
index 960c119..685cd46 100644
--- a/php/classes/AmdaAction.php
+++ b/php/classes/AmdaAction.php
@@ -379,19 +379,19 @@ class AmdaAction
 
 							if ( $child->tagName == 'parameter')
 							{
-								if ($child->parentNode->hasAttribute('dataStart'))
+								if ($child->parentNode->hasAttribute('globalStart'))
 									{
-										$globalStart = $child->parentNode->getAttribute('dataStart');
-										$globalStop = $child->parentNode->getAttribute('dataStop');
+										$globalStart = $child->parentNode->getAttribute('globalStart');
+										$globalStop = $child->parentNode->getAttribute('globalStop');
 									}
 							}
 
 							if ( $child->tagName == 'component')
 							{
-								if ($child->parentNode->parentNode->hasAttribute('dataStart'))
+								if ($child->parentNode->parentNode->hasAttribute('globalStart'))
 									{
-										$globalStart = $child->parentNode->parentNode->getAttribute('dataStart');
-										$globalStop = $child->parentNode->parentNode->getAttribute('dataStop');
+										$globalStart = $child->parentNode->parentNode->getAttribute('globalStart');
+										$globalStop = $child->parentNode->parentNode->getAttribute('globalStop');
 									}
 							}
 
--
libgit2 0.21.2