mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-25 13:25:28 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user