summaryrefslogtreecommitdiff
path: root/skins/classic/templates/message.html
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-07-04 11:19:20 +0200
committerAleksander Machniak <alec@alec.pl>2013-07-04 11:19:20 +0200
commitc3762a5ad5ef8940b7c8d456675edc371f656c80 (patch)
tree6e56bffd4e8abb8792c052155a5c97d9bd1756ad /skins/classic/templates/message.html
parent6e57fb6b4cc8c108b89458651dd525a0df950fdd (diff)
Fix folder names truncation in Classic skin (#1489220)
Fix bug where not all event handlers were executed (because body onload was executed after rcmail init function, sometimes)
Diffstat (limited to 'skins/classic/templates/message.html')
-rw-r--r--skins/classic/templates/message.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/skins/classic/templates/message.html b/skins/classic/templates/message.html
index 11e58c711..757c0a635 100644
--- a/skins/classic/templates/message.html
+++ b/skins/classic/templates/message.html
@@ -13,10 +13,10 @@
</style>
</head>
<roundcube:if condition="env:extwin" />
-<body class="extwin" onload="rcube_init_mail_ui()">
+<body class="extwin">
<roundcube:object name="message" id="message" />
<roundcube:else />
-<body onload="rcube_init_mail_ui()">
+<body>
<roundcube:include file="/includes/taskbar.html" />
<roundcube:include file="/includes/header.html" />
@@ -81,5 +81,9 @@
</ul>
</div>
+<script type="text/javascript">
+rcube_init_mail_ui();
+</script>
+
</body>
</html>