diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt
index 02c12e6bf..7d6288681 100644
--- a/docs/changelog/7.x.x.txt
+++ b/docs/changelog/7.x.x.txt
@@ -13,6 +13,7 @@
- fix: Dataform adding fields without fieldname (Wouter van Oijen / ProcoliX)
- fix: Fatal in Affiliate.pm
- Fixed several problems to make WebGUI 7 Windows compatible again.
+ - fix: navigation (Wouter van Oijen / Procolix)
7.0.2
diff --git a/docs/upgrades/templates-7.0.3/dtree.tmpl b/docs/upgrades/templates-7.0.3/dtree.tmpl
new file mode 100644
index 000000000..e4ef989c4
--- /dev/null
+++ b/docs/upgrades/templates-7.0.3/dtree.tmpl
@@ -0,0 +1,37 @@
+#PBtmpl0000000000000130
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+~~~
+
+
diff --git a/www/extras/Navigation/dtree/dtree.js b/www/extras/Navigation/dtree/dtree.js
index 97268a65f..7ba081729 100644
--- a/www/extras/Navigation/dtree/dtree.js
+++ b/www/extras/Navigation/dtree/dtree.js
@@ -58,7 +58,7 @@ function Node(id, pid, name, url, title, target, icon, iconOpen, open) {
// Tree object
-function dTree(objName) {
+function dTree(objName, path) {
this.config = {
@@ -116,6 +116,8 @@ function dTree(objName) {
this.obj = objName;
+ this.path = path;
+
this.aNodes = [];
this.aIndent = [];
@@ -580,6 +582,7 @@ dTree.prototype.clearCookie = function() {
dTree.prototype.setCookie = function(cookieName, cookieValue, expires, path, domain, secure) {
+ path = this.path;
document.cookie =
escape(cookieName) + '=' + escape(cookieValue)