Monotone-Parent: 009835d66e03b894b731fe8bbbadabcc4ca55605

Monotone-Revision: 200aa3ad3746194677c1c162d99fec321f1ecd29

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-06-28T14:08:30
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau 2007-06-28 14:08:30 +00:00
parent a8e5b93d84
commit 12da73caad
2 changed files with 11 additions and 6 deletions

View file

@ -470,7 +470,8 @@ TABLE#addr_table
}
TABLE#messageList
{ display: block;
{ cursor: default;
display: block;
position: absolute;
background-color: #fff;
color: #000;

View file

@ -342,7 +342,8 @@ function moveMessages(rowIds, folder) {
/* send AJAX request (synchronously) */
var messageId = currentMailbox + "/" + rowIds[i];
url = ApplicationBaseURL + messageId + "/move?jsonly=1&tofolder=" + folder;
url = (ApplicationBaseURL + messageId
+ "/move?jsonly=1&tofolder=" + folder);
http = createHTTPClient();
http.open("GET", url, false /* not async */);
http.send("");
@ -499,8 +500,9 @@ function messageListCallback(http) {
div.innerHTML = http.responseText;
var selected = http.callbackData;
if (selected) {
var row = $('row_' + selected);
row.select();
var row = $("row_" + selected);
if (row)
row.select();
}
configureMessageListEvents();
configureSortableTableHeaders();
@ -851,10 +853,12 @@ function onHeaderClick(event) {
document.messageListAjaxRequest.aborted = true;
document.messageListAjaxRequest.abort();
}
var link = this.getAttribute('href');
var link = this.getAttribute("href");
url = ApplicationBaseURL + currentMailbox + "/" + link;
if (!link.match(/noframe=/))
if (link.indexOf("noframe=") < 0)
url += "&noframe=1";
log ("link: " + link);
document.messageListAjaxRequest
= triggerAjaxRequest(url, messageListCallback);