From af52a36f3da8083c2669c55b7d7de56d603474a9 Mon Sep 17 00:00:00 2001 From: stefanp Date: Tue, 13 Apr 2004 15:40:27 +0000 Subject: [PATCH] check for prototype root or Root in hrefRoot_macro --- DocApplication/macros.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DocApplication/macros.js b/DocApplication/macros.js index daccf992..b93ee674 100644 --- a/DocApplication/macros.js +++ b/DocApplication/macros.js @@ -39,6 +39,9 @@ function headline_macro (param) { function hrefRoot_macro (param) { var obj = this.getChildElement ("prototype_root"); + if (obj == null) { + var obj = this.getChildElement ("prototype_Root"); + } if (obj!=null) { var action = (param.action) ? param.action : "main"; return obj.href (action);