2012-12-03 Ramon Novoa <rnovoa@artica.es>

* include/functions_treeview.php: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2012-12-03 10:28:53 +00:00
parent 7b9f671661
commit 0841ad650c
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2012-12-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_treeview.php: Fixed a typo.
2012-12-03 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/configurar_agente.php: Fixed macros update of

View File

@ -267,7 +267,7 @@ function treeview_printTree($type) {
} else {
$id = $item['_id_'];
}
echo "<a onfocus='JavaScript: this.blur()' href='javascript: loadSubTree(\"" . $type . "\",\"" . $hex_id . "\", " . $lessBranchs . ", \"\", \"\")'>";
echo "<a onfocus='JavaScript: this.blur()' href='javascript: loadSubTree(\"" . $type . "\",\"" . $id . "\", " . $lessBranchs . ", \"\", \"\")'>";
echo $img . $item['_iconImg_'] ."&nbsp;" . __($item['_name_']) . ' ('.
'<span class="green">'.'<b>'.$item['_num_ok_'].'</b>'.'</span>'.
@ -275,7 +275,7 @@ function treeview_printTree($type) {
' : <span class="yellow">'.$item['_num_warning_'].'</span>'.
' : <span class="grey">'.$item['_num_unknown_'].'</span>'.') '. "</a>";
echo "<div hiddenDiv='1' loadDiv='0' style='margin: 0px; padding: 0px;' class='tree_view' id='tree_div_" . $type . "_" . $hex_id . "'></div>";
echo "<div hiddenDiv='1' loadDiv='0' style='margin: 0px; padding: 0px;' class='tree_view' id='tree_div_" . $type . "_" . $id . "'></div>";
echo "</li>\n";
}
echo "</ul>\n";