check for prototype root or Root in hrefRoot_macro
This commit is contained in:
parent
f1ab90effd
commit
af52a36f3d
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue