From ccc9729cc57b83735b697cff428607674cdb3be2 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Wed, 11 Sep 2013 09:53:31 +0000 Subject: [PATCH] #763 Could not use "configure this list" once a stop watch has been added to the list, which is a pitty because such attributes are not aimed at being displayed in lists! SVN:trunk[2848] --- core/ormstopwatch.class.inc.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/ormstopwatch.class.inc.php b/core/ormstopwatch.class.inc.php index ee99cda56..8113c5ef6 100644 --- a/core/ormstopwatch.class.inc.php +++ b/core/ormstopwatch.class.inc.php @@ -162,8 +162,7 @@ class ormStopWatch } else { - $iElapsedTemp = ''; //$this->ComputeDuration($oHostObject, $oAttDef, $this->iLastStart, time()); - $aProperties['Elapsed'] = $this->iTimeSpent.' + '.$iElapsedTemp.' s + '; + $aProperties['Elapsed'] = 'running '; } $aProperties['Started'] = $oAttDef->SecondsToDate($this->iStarted); @@ -183,7 +182,7 @@ class ormStopWatch } $aProperties[$iPercent.'%'] = $sThresholdDesc; } - $sRes = ""; + $sRes = "
"; $sRes .= ""; foreach ($aProperties as $sProperty => $sValue) {