Removed parameter from onchange= in address book window and select address dialog.

This commit is contained in:
hangas%netscape.com 1999-06-15 00:30:56 +00:00
parent 91f9c5fa68
commit 20d37033b2
2 changed files with 2 additions and 12 deletions

View File

@ -114,17 +114,7 @@ function EditCardCancelButton()
}
function TestSelectionChange(abNode)
{
var selArray = document.getElementsByAttribute('selected', 'true');
if ( selArray && (selArray.length == 2) )
{
var uri = selArray[1].getAttribute('id');
dump("Clicked on = " + uri + "\n");
}
}
function ResultsPaneSelectionChange(abNode)
function ResultsPaneSelectionChange()
{
// not in ab window if no parent.parent.rdf
if ( parent.parent.rdf )

View File

@ -22,7 +22,7 @@
<tree class="abResults" flex="100%" id="resultTree"
rdf:datasources="rdf:addressdirectory rdf:addresscard"
onchange="ResultsPaneSelectionChange(event.target.parentNode)">
onchange="ResultsPaneSelectionChange()">
<treecol style="width:13%" id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#PersonName"/>
<treecol style="width:21%" id="EmailColumn" rdf:resource="http://home.netscape.com/NC-rdf#Email"/>
<treecol style="width:13%" id="WorkPhoneColumn" rdf:resource="http://home.netscape.com/NC-rdf#WorkPhone"/>