From cf28633516b101041e26da8edc1295b20b27626d Mon Sep 17 00:00:00 2001 From: Eduardo Mozart de Oliveira <2974895+eduardomozart@users.noreply.github.com> Date: Thu, 1 Feb 2024 09:15:21 -0300 Subject: [PATCH] Add data-wiki-id attr to Fancytree (Treenew) DokuWiki adds this attribute to "a" interwikis automatically, it points to the namespace/pageID, e.g. "doku.php?id=3cx:add_phones" the value of data-wiki-id attr is "3cx:add_phones". On Read the Dokus template, this attribute is used on sidebar to determine the "Next" and "Previous" buttons location. --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index c66d194..2c1f643 100644 --- a/script.js +++ b/script.js @@ -233,7 +233,7 @@ jQuery(function(){ // on page load if(node.data.hnsNotExisting) { cls = ' class="wikilink2"'; } - data.$title.html("" + node.title + ""); + data.$title.html("" + node.title + ""); } }, //retrieve initial data