Fixing bugs 105899, 105902. Fixing js warnings and errors in address book files. r=bhuvan

This commit is contained in:
racham%netscape.com 2001-12-05 03:05:03 +00:00
parent b2e402cb42
commit 4fd39e36d6
2 changed files with 3 additions and 2 deletions

View File

@ -202,7 +202,7 @@ function AbEditCard()
var card = rdf.GetResource(uri);
card = card.QueryInterface(Components.interfaces.nsIAbCard);
if (card.isMailList) {
listUri = card.mailListURI;
var listUri = card.mailListURI;
goEditListDialog(resultsTree.getAttribute("ref"), listUri);
}
else {

View File

@ -578,7 +578,8 @@ function DragOverTree(event)
{
//XXX this is really slow and likes to refresh N times per second.
var rowGroup = event.target.parentNode.parentNode;
rowGroup.setAttribute ( "dd-triggerrepaint", 0 );
if (rowGroup)
rowGroup.setAttribute ( "dd-triggerrepaint", 0 );
dragSession.canDrop = true;
// necessary??
retVal = false; // do not propagate message