mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
History display enhancement: whenever a new case log entry is added, display its content in the history. The display is truncated at a configurable max length. The user can expand/collapse the truncated text, entry per entry. The text is not truncated when printing.
SVN:trunk[3759]
This commit is contained in:
@@ -1290,7 +1290,7 @@ class HistoryBlock extends DisplayBlock
|
||||
{
|
||||
$sHtml .= $this->GetHistoryTable($oPage, $oSet);
|
||||
}
|
||||
|
||||
$oPage->add_ready_script("$('.case-log-history-entry-toggle').on('click', function () { $(this).closest('.case-log-history-entry').toggleClass('expanded');});");
|
||||
}
|
||||
return $sHtml;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user