1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-03 01:10:45 +00:00

Fix problem with CecilyView that is initialised with an empty message

This commit is contained in:
Jeremy Ruston 2012-11-26 16:24:31 +00:00
parent 97c7c458f6
commit 3161e8d8ce

View File

@ -21,11 +21,13 @@ function CecilyListView(listMacro) {
// Position the initial list entries on the map // Position the initial list entries on the map
this.loadMap(); this.loadMap();
for(var t=0; t<listFrame.children.length; t++) { for(var t=0; t<listFrame.children.length; t++) {
var title = listFrame.children[t].listElementInfo.title, if(listFrame.children[t].listElementInfo) {
domNode = listFrame.children[t].domNode; var domNode = listFrame.children[t].domNode,
title = listFrame.children[t].listElementInfo.title;
domNode.style.position = "absolute"; domNode.style.position = "absolute";
this.positionTiddler(title,domNode); this.positionTiddler(title,domNode);
} }
}
} }
CecilyListView.prototype.getMapTiddlerTitle = function() { CecilyListView.prototype.getMapTiddlerTitle = function() {