mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 08:38:45 +02:00
N°3670 Revert tooltip preview behavior back to 2.7 one
This commit is contained in:
@@ -512,8 +512,8 @@ class TableDetailsAttachmentsRenderer extends AbstractAttachmentsRenderer
|
||||
if ($oDoc->GetSize() <= self::MAX_SIZE_FOR_PREVIEW)
|
||||
{
|
||||
$sAttachmentThumbUrl = $sDocDownloadUrl;
|
||||
$sPreviewMarkup = utils::HtmlEntities('<img src="'.$sAttachmentThumbUrl.'" style="max-width: '.$iMaxWidth.'"/>');
|
||||
}
|
||||
$sPreviewMarkup = utils::HtmlEntities('<img src="'.$sDocDownloadUrl.'" style="max-width: '.$iMaxWidth.'"/>');
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user