From fd1bc6adb18b02337ee94b7f5b263ee94f4fc4cf Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Fri, 21 Nov 2008 13:14:06 +0000 Subject: [PATCH] fixed broken completions after html->xml rename --- content/ui.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/ui.js b/content/ui.js index f0662c97..7b4e5e62 100644 --- a/content/ui.js +++ b/content/ui.js @@ -1381,14 +1381,14 @@ function ItemList(id) //{{{ if (diff == 1) /* Scroll down */ { let item = items[endIndex - 1]; - let row = "xml" in item ? util.xmlToDom(item.html, doc) : createDefaultRow(item, true); + let row = "xml" in item ? util.xmlToDom(item.xml, doc) : createDefaultRow(item, true); tbody.removeChild(tbody.firstChild); tbody.appendChild(row); } else /* Scroll up */ { let item = items[offset]; - let row = "xml" in item ? util.xmlToDom(item.html, doc) : createDefaultRow(item, true); + let row = "xml" in item ? util.xmlToDom(item.xml, doc) : createDefaultRow(item, true); tbody.removeChild(tbody.lastChild); tbody.insertBefore(row, tbody.firstChild); } @@ -1402,7 +1402,7 @@ function ItemList(id) //{{{
{ template.map(util.range(offset, endIndex), function (i) - "xml" in items[i] ? items[i].html : createDefaultRow(items[i])) + "xml" in items[i] ? items[i].xml : createDefaultRow(items[i])) }