From bb4c19d4ac0fdc48253ae982f9fdbaea52732400 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 9 Oct 2008 16:58:48 +0000 Subject: [PATCH] Quick hack to add tildes to the empty lines of the completion output. --- content/ui.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/ui.js b/content/ui.js index aaec45cc..6ad28241 100644 --- a/content/ui.js +++ b/content/ui.js @@ -1330,6 +1330,13 @@ liberator.ItemList = function (id) //{{{ let elem = completions[i]; tbody.* += createRow(elem[0], elem[1], elem[2]); } + div.* += + + { + liberator.template.map(liberator.util.range(0, maxItems), function (i) + ) + } +
~
; let dom = liberator.util.xmlToDom(div, doc); completionBody = dom.getElementsByTagName("tbody")[0];