summaryrefslogtreecommitdiff
path: root/skins/classic/templates/messagepreview.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/messagepreview.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/messagepreview.html')
-rw-r--r--skins/classic/templates/messagepreview.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/skins/classic/templates/messagepreview.html b/skins/classic/templates/messagepreview.html
index 80dbe381a..b42a06342 100644
--- a/skins/classic/templates/messagepreview.html
+++ b/skins/classic/templates/messagepreview.html
@@ -6,7 +6,7 @@
<script type="text/javascript" src="/splitter.js"></script>
<script type="text/javascript" src="/functions.js"></script>
</head>
-<body class="iframe" onload="rcube_init_mail_ui()">
+<body class="iframe">
<div class="messageheaderbox">
<div id="messagelinks">
@@ -34,5 +34,9 @@
</ul>
</div>
+<script type="text/javascript">
+rcube_init_mail_ui();
+</script>
+
</body>
</html>