From c3762a5ad5ef8940b7c8d456675edc371f656c80 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Thu, 04 Jul 2013 05:19:20 -0400
Subject: [PATCH] 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)

---
 plugins/enigma/skins/classic/templates/keys.html |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/plugins/enigma/skins/classic/templates/keys.html b/plugins/enigma/skins/classic/templates/keys.html
index 4271ecc..f581c45 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>

--
Gitblit v1.9.1