From 1bfa4ca00e3114dd24a95f97182708e9e19d1306 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sun, 28 Oct 2012 09:06:54 +0000 Subject: [PATCH] Tweak Cecily startup routine We were making too many assumptions about the DOM layout --- core/modules/macros/list/listviews/cecily.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core/modules/macros/list/listviews/cecily.js b/core/modules/macros/list/listviews/cecily.js index b60d32220..1873ce0f5 100644 --- a/core/modules/macros/list/listviews/cecily.js +++ b/core/modules/macros/list/listviews/cecily.js @@ -16,13 +16,14 @@ function CecilyListView(listMacro) { // The list macro we're attached to this.listMacro = listMacro; // Prepare the list frame - var listFrameDomNode = this.listMacro.listFrame.domNode; + var listFrame = this.listMacro.listFrame, + listFrameDomNode = listFrame.domNode; listFrameDomNode.style.position = "relative"; // Position the initial list entries on the map this.loadMap(); - for(var t=0; t