diff --git a/include/appData.php b/include/appData.php index efb0f2d..85a22ee 100644 --- a/include/appData.php +++ b/include/appData.php @@ -497,14 +497,17 @@ class appData $oApp = new Application($this->iAppId); $oUser = new User($this->iSubmitterId); - $aCells = array( - print_date(mysqltimestamp_to_unixtimestamp($this->sSubmitTime)), - $oUser->objectMakeLink(), - $oApp->objectMakeLink(), - $this->iVersionId ? $oVersion->objectMakeLink() : "N/A"); - $oTableRow = new TableRow($aCells); - return $oTableRow; + $oTableRow = new TableRow(); + $oTableRow->AddTextCell(print_date(mysqltimestamp_to_unixtimestamp($this->sSubmitTime))); + $oTableRow->AddTextCell($oUser->objectMakeLink()); + $oTableRow->AddTextCell($oApp->objectMakeLink()); + $oTableRow->AddTextCell($this->iVersionId ? $oVersion->objectMakeLink() : "N/A"); + + // create the object manager specific row + $oOMTableRow = new OMTableRow($oTableRow); + + return $oOMTableRow; } function objectDisplayQueueProcessingHelp() diff --git a/include/objectManager.php b/include/objectManager.php index 3516e24..805a948 100644 --- a/include/objectManager.php +++ b/include/objectManager.php @@ -153,7 +153,7 @@ class ObjectManager //TODO: we shouldn't access this method directly, should make an accessor for it if(!$this->oTableRow->oTableRow->sClass) { - $this->oTableRow->oTableRow->sClass = $sColor; + $this->oTableRow->oTableRow->SetClass($sColor); } // if this row is clickable, make it highlight appropirately diff --git a/include/table.php b/include/table.php index 34dbb5d..6ff1dfc 100644 --- a/include/table.php +++ b/include/table.php @@ -199,6 +199,7 @@ class TableRow $this->aTableCells = array(); $this->sStyle = null; $this->sClass = null; + $this->sExtra = null; $this->oTableRowClick = null; }