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:
Denis Flaven
2015-09-14 13:46:48 +00:00
parent 3cbb0e974e
commit 6fd2c81315
16 changed files with 133 additions and 13 deletions

View File

@@ -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;
}