Fix problem with CecilyView that is initialised with an empty message

print-window-tiddler
Jeremy Ruston 2012-11-26 16:24:31 +00:00
rodzic 97c7c458f6
commit 3161e8d8ce
1 zmienionych plików z 6 dodań i 4 usunięć

Wyświetl plik

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