summaryrefslogtreecommitdiff
path: root/plugins
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 /plugins
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 'plugins')
-rw-r--r--plugins/enigma/skins/classic/templates/keys.html6
-rw-r--r--plugins/managesieve/skins/classic/templates/managesieve.html6
2 files changed, 10 insertions, 2 deletions
diff --git a/plugins/enigma/skins/classic/templates/keys.html b/plugins/enigma/skins/classic/templates/keys.html
index 4271eccb7..f581c457b 100644
--- a/plugins/enigma/skins/classic/templates/keys.html
+++ b/plugins/enigma/skins/classic/templates/keys.html
@@ -13,7 +13,7 @@
}
</style>
</head>
-<body class="iframe" onload="rcube_init_mail_ui()">
+<body class="iframe">
<div id="prefs-title" class="boxtitle"><roundcube:label name="enigma.enigmakeys" /></div>
<div id="prefs-details" class="boxcontent">
@@ -72,5 +72,9 @@
</ul>
</div>
+<script type="text/javascript">
+rcube_init_mail_ui();
+</script>
+
</body>
</html>
diff --git a/plugins/managesieve/skins/classic/templates/managesieve.html b/plugins/managesieve/skins/classic/templates/managesieve.html
index 71eebe105..869e3ac36 100644
--- a/plugins/managesieve/skins/classic/templates/managesieve.html
+++ b/plugins/managesieve/skins/classic/templates/managesieve.html
@@ -19,7 +19,7 @@
</style>
</head>
-<body onload="rcube_init_mail_ui()">
+<body>
<roundcube:include file="/includes/taskbar.html" />
<roundcube:include file="/includes/header.html" />
@@ -83,5 +83,9 @@
</ul>
</div>
+<script type="text/javascript">
+rcube_init_mail_ui();
+</script>
+
</body>
</html>