mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-01 09:49:27 +00:00
Monotone-Parent: 82121024dd2aa65f31879761d7937d78161f9888
Monotone-Revision: a7497a1857582a170a23018373da5f88ca29417c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-08-08T21:36:17 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -320,6 +320,20 @@ function onMenuDeleteMessage(event) {
|
||||
preventDefault(event);
|
||||
}
|
||||
|
||||
function onPrintCurrentMessage(event) {
|
||||
var rowIds = $("messageList").getSelectedRowsId();
|
||||
if (rowIds.length == 0) {
|
||||
window.alert(labels["Please select a message to print."].decodeEntities());
|
||||
}
|
||||
else if (rowIds.length > 1) {
|
||||
window.alert(labels["Please select only one message to print."].decodeEntities());
|
||||
}
|
||||
else
|
||||
window.print();
|
||||
|
||||
preventDefault(event);
|
||||
}
|
||||
|
||||
function onMailboxTreeItemClick(event) {
|
||||
var topNode = $("mailboxTree");
|
||||
var mailbox = this.parentNode.getAttribute("dataname");
|
||||
|
||||
Reference in New Issue
Block a user