From 961bdfc66151b9aef46149e4730110ef409e5587 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Fri, 26 Aug 2011 16:53:03 +0200 Subject: Move most of the context to a "general context" substructure. This is so as to make sure that cloning (which does a shallow copy) gives us references to the same mutable content. --- org/madore/damlengine/TodoFooter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'org/madore/damlengine/TodoFooter.java') diff --git a/org/madore/damlengine/TodoFooter.java b/org/madore/damlengine/TodoFooter.java index 8c45eeb..c47c951 100644 --- a/org/madore/damlengine/TodoFooter.java +++ b/org/madore/damlengine/TodoFooter.java @@ -26,8 +26,8 @@ public final class TodoFooter extends TodoElement { toProcess.add(TodoElement.getTodoElement(addr, this.ctx, this)); Element a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); a.setAttributeNS(null, "href", - (ctx.uriToTop==null)?"http://www.madore.org/~david/" - :ctx.uriToTop); + (ctx.gc.uriToTop==null)?"http://www.madore.org/~david/" + :ctx.gc.uriToTop); addr.appendChild(a); a.appendChild(ctx.doc.createTextNode("David Madore")); addr.appendChild(ctx.doc.createTextNode(" (")); -- cgit v1.2.3