Mercurial > hg > rc2
diff skins/larry/includes/footer.html @ 8:bf99236cc5cd
try to recover from upgrade fail
author | Charlie Root |
---|---|
date | Sat, 29 Dec 2018 07:07:34 -0500 |
parents | 4681f974d28b |
children |
line wrap: on
line diff
--- a/skins/larry/includes/footer.html Sat Dec 29 06:32:49 2018 -0500 +++ b/skins/larry/includes/footer.html Sat Dec 29 07:07:34 2018 -0500 @@ -1,13 +1,5 @@ <roundcube:object name="message" id="messagestack" condition="env:task != 'login'" /> <script type="text/javascript"> - -// UI startup -var UI = new rcube_mail_ui(); -$(document).ready(function(){ - UI.set('errortitle', '<roundcube:label name="errortitle" quoting="javascript" />'); - UI.set('toggleoptions', '<roundcube:label name="toggleadvancedoptions" quoting="javascript" />'); - UI.init(); -}); - +if (!window.UI) { var UI = new rcube_mail_ui(); } </script>