Re-added the "toggle" style for history blocks. The style by default remains the plain "table" (inside a dedicated tab).

SVN:trunk[615]
This commit is contained in:
Denis Flaven
2010-07-20 11:32:05 +00:00
parent 74927428aa
commit c667e65904
2 changed files with 46 additions and 37 deletions

View File

@@ -126,7 +126,7 @@ abstract class cmdbAbstractObject extends CMDBObject
$oHistoryFilter = new DBObjectSearch('CMDBChangeOp');
$oHistoryFilter->AddCondition('objkey', $this->GetKey());
$oHistoryFilter->AddCondition('objclass', get_class($this));
$oBlock = new HistoryBlock($oHistoryFilter, 'tab', false);
$oBlock = new HistoryBlock($oHistoryFilter, 'table', false);
$oBlock->Display($oPage, -1);
}