summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2024-01-01 11:38:26 +0100
committerDavid A. Madore <david+git@madore.org>2024-01-01 11:38:26 +0100
commit8bff408d2ce5b415217232f0e8f44d9dff0367b8 (patch)
tree25cce1bef00588b4b10765d7a3df13a6ebbcbb18
parent903c1c312ad7f0093b19942d939e977cef733b48 (diff)
downloaddamlengine-8bff408d2ce5b415217232f0e8f44d9dff0367b8.tar.gz
damlengine-8bff408d2ce5b415217232f0e8f44d9dff0367b8.tar.bz2
damlengine-8bff408d2ce5b415217232f0e8f44d9dff0367b8.zip
Add a new "js-foot-space" div in the footer, for use by JavaScript.
-rw-r--r--org/madore/damlengine/TodoFooter.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/org/madore/damlengine/TodoFooter.java b/org/madore/damlengine/TodoFooter.java
index 9cb7742..4bdbb41 100644
--- a/org/madore/damlengine/TodoFooter.java
+++ b/org/madore/damlengine/TodoFooter.java
@@ -22,6 +22,11 @@ public final class TodoFooter extends TodoElement {
Element hr = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "hr");
footer.appendChild(hr);
footer.appendChild(ctx.doc.createTextNode("\n"));
+ Element jsFootSpace = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "div");
+ footer.appendChild(jsFootSpace);
+ footer.appendChild(ctx.doc.createTextNode("\n"));
+ jsFootSpace.setAttributeNS(null, "id", "js-foot-space");
+ jsFootSpace.appendChild(ctx.doc.createComment(" To be filled by JavaScript "));
Element addr = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "address");
footer.appendChild(addr);
footer.appendChild(ctx.doc.createTextNode("\n"));