mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
Fix warnings 'n stuff. bug=60627, patch=mao, r=jag, sr=sspitzer
This commit is contained in:
parent
1097880c59
commit
64e4e828f4
@ -165,11 +165,13 @@ function AbEditCard()
|
||||
card = card.QueryInterface(Components.interfaces.nsIAbCard);
|
||||
if (card.isMailList) {
|
||||
var dirUri = dirTree.selectedItems[0].getAttribute("id");
|
||||
listUri = dirUri + "/MailList" + card.dbRowID;
|
||||
var listUri = dirUri + "/MailList" + card.dbRowID;
|
||||
goEditListDialog(resultsTree.getAttribute("ref"), listUri);
|
||||
}
|
||||
else
|
||||
goEditCardDialog(resultsTree.getAttribute("ref"), card, top.gUpdateCardView);
|
||||
else {
|
||||
var updateFunc = ("gUpdateCardView" in top) ? top.gUpdateCardView : null;
|
||||
goEditCardDialog(resultsTree.getAttribute("ref"), card, updateFunc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user