mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
Removed parameter from onchange= in address book window and select address dialog.
This commit is contained in:
parent
91f9c5fa68
commit
20d37033b2
@ -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 )
|
||||
|
@ -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"/>
|
||||
|
Loading…
Reference in New Issue
Block a user