Monotone-Parent: 716528a4c99649c701a54366e47e2396b887aa1a
Monotone-Revision: faa54c78af829885e4c94078b27e72ff3d5a5ce9 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-07-08T12:44:11 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
b828996f1e
commit
f25989a291
|
@ -42,12 +42,15 @@ function openContactsFolder(contactsFolder, reload, idx) {
|
|||
+ "&asc=" + sorting["ascending"]);
|
||||
|
||||
var selection;
|
||||
if (contactsFolder == currentAddressBook) {
|
||||
if (idx) {
|
||||
selection = [idx];
|
||||
}
|
||||
else if (contactsFolder == currentAddressBook) {
|
||||
var contactsList = $("contactsList");
|
||||
if (contactsList)
|
||||
selection = contactsList.getSelectedRowsId();
|
||||
// else
|
||||
// window.alert("no contactsList");
|
||||
// else
|
||||
// window.alert("no contactsList");
|
||||
}
|
||||
else
|
||||
selection = null;
|
||||
|
@ -505,7 +508,7 @@ function onConfirmContactSelection(event) {
|
|||
}
|
||||
|
||||
function refreshContacts(contactId) {
|
||||
refreshCurrentFolder();
|
||||
openContactsFolder(currentAddressBook, true, contactId);
|
||||
cachedContacts[currentAddressBook + "/" + contactId] = null;
|
||||
loadContact(contactId);
|
||||
|
||||
|
|
Loading…
Reference in New Issue