Monotone-Parent: 917c16cbc72247a3b9d3bc68547572f93349255c

Monotone-Revision: 68a4d281ea3e2ebe3e087c6c3388aa516105a268

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2007-12-13T22:10:22
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2007-12-13 22:10:22 +00:00
parent 438e9bb635
commit 30cf9a279c
+5 -3
View File
@@ -451,18 +451,20 @@ function openMailbox(mailbox, reload, idx) {
Mailer.currentMailbox = mailbox;
var url = ApplicationBaseURL + encodeURI(mailbox) + "/view?noframe=1";
if (!reload) {
if (!reload || idx) {
var messageContent = $("messageContent");
messageContent.update();
lastClickedRow = -1; // from generic.js
}
var currentMessage;
if (!idx && !reload) {
if (!idx) {
currentMessage = Mailer.currentMessages[mailbox];
if (currentMessage) {
loadMessage(currentMessage);
url += '&pageforuid=' + currentMessage;
if (!reload)
loadMessage(currentMessage);
}
}