1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-12-06 16:58:05 +00:00

Get the tiddler info panel fields list working properly

Now we can display the fields list as a proper table.

We've had to temporarily hack the list widget again…
This commit is contained in:
Jeremy Ruston
2013-10-14 17:35:52 +01:00
parent b4d33b9614
commit ebd28c8dc7
6 changed files with 15 additions and 18 deletions

View File

@@ -104,7 +104,9 @@ ListWidget.prototype.makeItemTemplate = function(title) {
]}];
}
}
templateTree = [{type: "tiddler", attributes: {title: {type: "string", value: title}}, children: templateTree}]
if(!this.hasAttribute("hackCurrentTiddler")) {
templateTree = [{type: "tiddler", attributes: {title: {type: "string", value: title}}, children: templateTree}]
}
}
// Return the list item
return {type: "listitem", itemTitle: title, children: templateTree};