Bug: Trees do not collapse correctly
Moderators: Developers, Moderators
Bug: Trees do not collapse correctly
When collapsing trees in the tree view, one subtree heading will disappear while the others will stay visable under the collapsed subtree. I'm not exactly sure whether all of them should disappear or if all of them should stay visable, but the current behavior doesn't seem correct.
I created a test tree and cannot seem to reproduce this bug. Visit the following URL and let me know what you think:
http://web.raxnet.net/cacti/cacti-0.8.2 ... ction=tree
-Ian
http://web.raxnet.net/cacti/cacti-0.8.2 ... ction=tree
-Ian
-
- Posts: 11
- Joined: Fri Apr 11, 2003 2:00 pm
- Location: Philly
I think the problem is fixed now. It only occured when two or more nested branches had the 'hide' flag set. To fix, change 'include/tree_view_functions.php:169' to:
Thanks for helping me fix this.
-Ian
Code: Select all
if (($leaf["status"] == "1") && ($hide_until_tier == false)) {
-Ian
-
- Posts: 11
- Joined: Fri Apr 11, 2003 2:00 pm
- Location: Philly
Who is online
Users browsing this forum: No registered users and 4 guests