mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch 'ent-7964-nug-visual-en-tree-view' into 'develop'
Added title attr to module names in treeview See merge request artica/pandorafms!4412
This commit is contained in:
commit
2118f44a7a
@ -965,9 +965,12 @@ var TreeController = {
|
|||||||
$content.append($statusImage);
|
$content.append($statusImage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
element.name = htmlDecode(element.name);
|
||||||
// Name max 42 chars.
|
// Name max 42 chars.
|
||||||
$content.append(
|
$content.append(
|
||||||
'<span class="module-name">' +
|
'<span title="' +
|
||||||
|
element.name +
|
||||||
|
'" class="module-name">' +
|
||||||
element.name.substring(0, 42) +
|
element.name.substring(0, 42) +
|
||||||
(element.name.length > 42 ? "..." : "") +
|
(element.name.length > 42 ? "..." : "") +
|
||||||
"</span>"
|
"</span>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user