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

git-svn-id: svn://10.0.0.236/trunk@55245 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbragg%netscape.com
1999-12-04 01:10:57 +00:00
parent 2f147d0a55
commit fef8da8a31
2 changed files with 4 additions and 6 deletions

View File

@@ -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);

View File

@@ -46,8 +46,8 @@
<treehead>
<treerow>
<treecell>&moduleName.label;</treecell>
<treecell>&moduleSource.label;</treecell>
<treecell value="&moduleName.label;" />
<treecell value="&moduleSource.label;"/>
</treerow>
</treehead>