Monotone-Parent: 45bea3e2e145934a34aeefc02e3b87dc35017013
Monotone-Revision: 9a06416d5f808116f7b0f2630c6fb7181d3e5249 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-04T03:12:24 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
a24ba75298
commit
5bf7c5739c
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
DB_USER="sogo"
|
DB_USER="sogo"
|
||||||
DB_PASS="sogo"
|
DB_PASS="sogo"
|
||||||
DB_HOST="127.0.0.1"
|
DB_HOST="192.168.0.4"
|
||||||
DB_PORT="5432"
|
DB_PORT="5432"
|
||||||
DB_NAME="sogo"
|
DB_NAME="sogo"
|
||||||
TIMEZONE="Canada/Eastern"
|
TIMEZONE="Canada/Eastern"
|
||||||
|
|
|
@ -193,14 +193,14 @@ function openMessageWindowsForSelection(action) {
|
||||||
win = openMessageWindow(window.messageId,
|
win = openMessageWindow(window.messageId,
|
||||||
window.messageURL + "/" + action /* url */);
|
window.messageURL + "/" + action /* url */);
|
||||||
else {
|
else {
|
||||||
var messageList = $("messageList");
|
var messageList = $("messageList");
|
||||||
var rows = messageList.getSelectedRowsId();
|
var rows = messageList.getSelectedRowsId();
|
||||||
var idset = "";
|
var idset = "";
|
||||||
for (var i = 0; i < rows.length; i++)
|
for (var i = 0; i < rows.length; i++)
|
||||||
win = openMessageWindow(rows[i].substr(4) /* msguid */,
|
win = openMessageWindow(rows[i].substr(4) /* msguid */,
|
||||||
ApplicationBaseURL + currentMailbox
|
ApplicationBaseURL + currentMailbox
|
||||||
+ "/" + rows[i].substr(4)
|
+ "/" + rows[i].substr(4)
|
||||||
+ "/" + action /* url */);
|
+ "/" + action /* url */);
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
@ -699,12 +699,19 @@ function deleteSelectedMails() {
|
||||||
|
|
||||||
/* message menu entries */
|
/* message menu entries */
|
||||||
function onMenuOpenMessage(event) {
|
function onMenuOpenMessage(event) {
|
||||||
var node = getParentMenu(event.target).menuTarget.parentNode;
|
return openMessageWindowsForSelection('popupview');
|
||||||
var msgId = node.getAttribute('id').substr(4);
|
}
|
||||||
|
|
||||||
return openMessageWindow(msgId,
|
function onMenuReplyToSender(event) {
|
||||||
ApplicationBaseURL + currentMailbox
|
return openMessageWindowsForSelection('reply');
|
||||||
+ "/" + msgId + "/view");
|
}
|
||||||
|
|
||||||
|
function onMenuReplyToAll(event) {
|
||||||
|
return openMessageWindowsForSelection('replyall');
|
||||||
|
}
|
||||||
|
|
||||||
|
function onMenuForwardMessage(event) {
|
||||||
|
return openMessageWindowsForSelection('forward');
|
||||||
}
|
}
|
||||||
|
|
||||||
/* contacts */
|
/* contacts */
|
||||||
|
|
Loading…
Reference in a new issue