set cursor of documentListRow in onepage mode, show id on mouse over

This commit is contained in:
Uwe Steinmann 2020-03-04 22:25:10 +01:00
parent 6aa57ad2b1
commit 54a14286f3

View File

@ -2371,9 +2371,9 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
$content .= "<img draggable=\"false\" class=\"mimeicon\" width=\"".$previewwidth."\" src=\"".$this->getMimeIcon($latestContent->getFileType())."\" title=\"".htmlspecialchars($latestContent->getMimeType())."\">";
$content .= "</td>";
$content .= "<td>";
$content .= "<td".($onepage ? ' style="cursor: pointer;"' : '').">";
if($onepage)
$content .= "<b>".htmlspecialchars($document->getName()) . "</b>";
$content .= "<b".($onepage ? ' title="Id:'.$document->getId().'"' : '').">".htmlspecialchars($document->getName()) . "</b>";
else
$content .= "<a draggable=\"false\" href=\"../out/out.ViewDocument.php?documentid=".$docID."&showtree=".$showtree."\">" . htmlspecialchars($document->getName()) . "</a>";
if(isset($extracontent['below_title']))
@ -2977,4 +2977,3 @@ $("body").on("click", "span.openpopupbox", function(e) {
<?php
} /* }}} */
}
?>