Monotone-Parent: 0dbfe804b643f92bc35b93367e1c120b395685a7

Monotone-Revision: 4540f3e456a8b7129b4cc6d8a8eea6373cc23df6

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2007-07-31T21:14:14
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2007-07-31 21:14:14 +00:00
parent 78f835b3e5
commit dc25f947b2
13 changed files with 77 additions and 47 deletions
+4 -3
View File
@@ -31,8 +31,9 @@ function validateEditorInput(sender) {
}
function openContactsFolder(contactsFolder, reload, idx) {
if (contactsFolder != currentContactFolder || reload) {
currentContactFolder = contactsFolder;
if ((currentContactFolder && contactsFolder != currentContactFolder)
|| reload) {
currentContactFolder = contactsFolder; log("openContactsFolder " + contactsFolder);
var url = URLForFolderID(currentContactFolder) +
"/view?noframe=1";
@@ -436,7 +437,7 @@ function onFolderSelectionChange() {
}
}
function refreshCurrentFolder() {
function refreshCurrentFolder() { log("refreshCurrentFolder");
openContactsFolder(currentContactFolder, true);
}