Debug v23

This commit is contained in:
Laurent Destailleur
2025-11-06 10:50:31 +01:00
parent a1bc0dc27c
commit 2f898ff188
10 changed files with 91 additions and 18 deletions

View File

@@ -15312,7 +15312,7 @@ function showValueWithClipboardCPButton($valuetocopy, $showonlyonhover = 1, $tex
$tag = 'span'; // Using div (like any style of type 'block') does not work when using the js copy code.
$result = '<span class="clipboardCP' . ($showonlyonhover ? ' clipboardCPShowOnHover' : '') . '">';
$result = '<span class="clipboardCP' . ($showonlyonhover ? ' clipboardCPShowOnHover valignmiddle' : '') . '">';
if ($texttoshow === 'none') {
$result .= '<' . $tag . ' class="clipboardCPValue hidewithsize">' . dol_escape_htmltag($valuetocopy, 1, 1) . '</' . $tag . '>';
$result .= '<span class="clipboardCPValueToPrint"></span>';