From c389df042d2f651d1c21185096a58b26e5f17464 Mon Sep 17 00:00:00 2001 From: "dbragg%netscape.com" Date: Sat, 4 Dec 1999 01:10:57 +0000 Subject: [PATCH] Changed the tree cell value label in the .xul file and added the .setAttribute property in the .js file to fix bug #20639. r=sgehani --- xpinstall/res/content/institems.js | 6 ++---- xpinstall/res/content/institems.xul | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/xpinstall/res/content/institems.js b/xpinstall/res/content/institems.js index 0e31543dde1..1ca9725debe 100644 --- a/xpinstall/res/content/institems.js +++ b/xpinstall/res/content/institems.js @@ -37,13 +37,11 @@ function addTreeItem(num, modName, url) newrow.setAttribute("rowName", modName); var elem = document.createElement('treecell'); - var text = document.createTextNode(modName); - elem.appendChild(text); + elem.setAttribute("value", modName); newrow.appendChild(elem); var elem = document.createElement('treecell'); - var text = document.createTextNode(url); - elem.appendChild(text); + elem.setAttribute("value", url); newrow.appendChild(elem); newitem.appendChild(newrow); diff --git a/xpinstall/res/content/institems.xul b/xpinstall/res/content/institems.xul index 5f0b5cd3dda..adbc3f2d2fa 100644 --- a/xpinstall/res/content/institems.xul +++ b/xpinstall/res/content/institems.xul @@ -46,8 +46,8 @@ - &moduleName.label; - &moduleSource.label; + +