From 2a8a4ac2ac36d773ea6d808c4ddf8ea8f7d5245b Mon Sep 17 00:00:00 2001 From: samhemelryk Date: Fri, 18 Sep 2009 06:24:42 +0000 Subject: [PATCH] navigation MDL-20297 Fixed bug whereby ajax events wern't be detached leading to over population of the tree --- lib/javascript-navigation.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/javascript-navigation.js b/lib/javascript-navigation.js index 50e461593f..d16f0658d2 100644 --- a/lib/javascript-navigation.js +++ b/lib/javascript-navigation.js @@ -66,6 +66,7 @@ function navigation_tree (treename, key) { this.cachedcontent = null; this.cachedfooter = null; this.position = 'block'; + this.skipsetposition = false; this.togglesidetabdisplay = '[[togglesidetabdisplay]]'; this.toggleblockdisplay = '[[toggleblockdisplay]]'; this.sideblockwidth = null; @@ -105,6 +106,7 @@ navigation_tree.prototype.initialise = function() { } for (i = 0; i