mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
Clean undefined messages for tree view
This commit is contained in:
parent
2b560d8806
commit
f072585d5a
@ -976,6 +976,11 @@ var TreeController = {
|
||||
"</span>"
|
||||
);
|
||||
|
||||
// Avoiding 'undefined' text.
|
||||
if (typeof element.value === "undefined") {
|
||||
element.value = "";
|
||||
}
|
||||
|
||||
// Value.
|
||||
$content.append(
|
||||
'<span class="module-value">' + element.value + "</span>"
|
||||
|
Loading…
x
Reference in New Issue
Block a user