Module: nagvis Branch: master Commit: 765819011001d6a67ffb662bef462d736496016f URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=765819011001d6a67ffb662bef462d736496016f
Author: Lars Michelsen <[email protected]> Date: Sat Nov 6 20:03:19 2010 +0100 Fixed hiding function of sidebar --- share/userfiles/templates/default.header.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/share/userfiles/templates/default.header.js b/share/userfiles/templates/default.header.js index b1c7505..095e25d 100644 --- a/share/userfiles/templates/default.header.js +++ b/share/userfiles/templates/default.header.js @@ -245,7 +245,7 @@ function sidebarToggleSubtree(oTitle) { // When the new state is "closed" remove it from the openNodes list // When the node is visible and is not in the list yet, append it if(state === 0 && open !== null) { - openNodes.splice(0, 1); + openNodes.splice(open, 1); } else if(state === 1 && open === null) openNodes.push(index); ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
