diff options
author | David A. Madore <david+git@madore.org> | 2024-01-01 11:38:26 +0100 |
---|---|---|
committer | David A. Madore <david+git@madore.org> | 2024-01-01 11:38:26 +0100 |
commit | 8bff408d2ce5b415217232f0e8f44d9dff0367b8 (patch) | |
tree | 25cce1bef00588b4b10765d7a3df13a6ebbcbb18 | |
parent | 903c1c312ad7f0093b19942d939e977cef733b48 (diff) | |
download | damlengine-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.java | 5 |
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")); |