Bug#702690: cacti: Multilevel tree doesn't work with jstree in 0.8.8a+dfsg-3

2013-03-10 Thread Jan Zalesak
Package: cacti Version: 0.8.8a+dfsg-3 Severity: normal Hi, I've found this bug after upgrading from 0.8.8a to 0.8.8a+dfsg-3. My multilevel tree in cacti stopped work. All nodes in every tree were in it's root. Only tree itself could be expanded/colapsed. I've done some research and the problem

Bug#702690: My patch

2013-03-10 Thread Jan Zalesak
Because reportbug failed when attaching file I'm sending my diff now. --- html_tree.php 2013-03-09 21:15:02.180337515 +0100 +++ /usr/share/cacti/site/lib/html_tree.php 2013-03-06 10:11:00.757847462 +0100 @@ -606,10 +606,33 @@ if (sizeof($hierarchy) 0) { $i++; $dhtml_tree[$i] =