Merge branch 'ent-8379-bug-visual-tree-view-modulos' into 'develop'
Clean undefined messages for tree view Closes pandora_enterprise#8379 See merge request artica/pandorafms!4617
This commit is contained in:
commit
69ff533e03
|
@ -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>"
|
||||
|
|
|
@ -330,7 +330,7 @@ enterprise_hook('close_meta_frame');
|
|||
|
||||
<script type="text/javascript">
|
||||
var treeController = TreeController.getController();
|
||||
|
||||
|
||||
processTreeSearch();
|
||||
|
||||
$("form#tree_search").submit(function(e) {
|
||||
|
|
Loading…
Reference in New Issue