summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authorcmcnulty <cmcnulty@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-01-25 01:30:30 +0000
committercmcnulty <cmcnulty@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-01-25 01:30:30 +0000
commit33f9647e56376ad3060e08c21fec870b0bde75ad (patch)
tree2e7fc50ea1d092965324c757cd937cbfbcd5e7ca /roundcubemail/program
parent7788753c117478e14e7498b883817a39be4fa7d4 (diff)
Added listener for the div that surrounds the message list - used in app.js for arrow key control
git-svn-id: https://svn.roundcube.net/trunk@123 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/steps/mail/func.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc
index f05193d96..4f84e2065 100644
--- a/roundcubemail/program/steps/mail/func.inc
+++ b/roundcubemail/program/steps/mail/func.inc
@@ -440,6 +440,7 @@ function rcmail_message_list($attrib)
$message_count = $IMAP->messagecount();
// set client env
+ $javascript .= sprintf("%s.gui_object('mailcontframe', '%s');\n", $JS_OBJECT_NAME, 'mailcontframe');
$javascript .= sprintf("%s.gui_object('messagelist', '%s');\n", $JS_OBJECT_NAME, $attrib['id']);
$javascript .= sprintf("%s.set_env('messagecount', %d);\n", $JS_OBJECT_NAME, $message_count);
$javascript .= sprintf("%s.set_env('current_page', %d);\n", $JS_OBJECT_NAME, $IMAP->list_page);