mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 01:20:30 +00:00
Fix problem with CecilyView that is initialised with an empty message
This commit is contained in:
parent
97c7c458f6
commit
3161e8d8ce
@ -21,12 +21,14 @@ 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() {
|
||||||
return this.listMacro.params.map || "$:/TiddlerMap";
|
return this.listMacro.params.map || "$:/TiddlerMap";
|
||||||
|
Loading…
Reference in New Issue
Block a user