summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-01-25 01:30:30 +0000
committersvncommit <devs@roundcube.net>2006-01-25 01:30:30 +0000
commit9d04c24ffa1e3ba541333d1d405857aa016ccde8 (patch)
tree6c9db65ecf702a549ea5dd301b4610699c200921 /program/steps/mail
parentd58c69f9499ef3db14125591bcc4660b68db62a1 (diff)
Added listener for the div that surrounds the message list - used in app.js for arrow key control
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/func.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index f05193d96..4f84e2065 100644
--- a/program/steps/mail/func.inc
+++ b/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);