From c942ad923022c70628972ba4f58f293bb29dbbb0 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Tue, 20 Jul 2010 17:30:54 +0000 Subject: [PATCH] Fixed the print button from the mail module + updated NEWS file Monotone-Parent: 2093fd32a32150f9c5060bac5619eea2dbc2f08d Monotone-Revision: 8c3f435e214cb69b7980be52ef28c9a08c8f6385 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-07-20T17:30:54 Monotone-Branch: ca.inverse.sogo --- NEWS | 3 +++ UI/WebServerResources/MailerUI.js | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index ea45e1c59..47c5c81f9 100644 --- a/NEWS +++ b/NEWS @@ -22,6 +22,9 @@ display - added the ability to specify a time range when requesting a time slot suggestion +- added live-loading support in the webmail interface with caching support +- updated CKEditor and improved its integration with the current user + language for automatic spell checking support - added support for displaying photos from contacts - added a Ukrainian translation - updated the Czech translation diff --git a/UI/WebServerResources/MailerUI.js b/UI/WebServerResources/MailerUI.js index 7bf01f642..b887f4934 100644 --- a/UI/WebServerResources/MailerUI.js +++ b/UI/WebServerResources/MailerUI.js @@ -448,7 +448,8 @@ function deleteMessageWithDelay(url, id, mailbox, messageId) { } function onPrintCurrentMessage(event) { - var rowIds = $("messageList").getSelectedRowsId(); + var messageList = $("messageListBody").down("TBODY"); + var rowIds = messageList.getSelectedNodes(); if (rowIds.length == 0) { window.alert(_("Please select a message to print.")); }