Only add zen-mode text labels in compose step

dev-zenmode
Thomas Bruederli 10 years ago
parent 7035cdc496
commit 3ebac0167b

@ -7,8 +7,6 @@ var UI = new rcube_mail_ui();
$(document).ready(function(){ $(document).ready(function(){
UI.set('errortitle', '<roundcube:label name="errortitle" quoting="javascript" />'); UI.set('errortitle', '<roundcube:label name="errortitle" quoting="javascript" />');
UI.set('toggleoptions', '<roundcube:label name="toggleadvancedoptions" quoting="javascript" />'); UI.set('toggleoptions', '<roundcube:label name="toggleadvancedoptions" quoting="javascript" />');
UI.set('exitfullscreen', '<roundcube:label name="exitfullscreen" quoting="javascript" />');
UI.set('switchtheme', '<roundcube:label name="switchtheme" quoting="javascript" />');
UI.init(); UI.init();
}); });

@ -219,9 +219,17 @@
</ul> </ul>
</div> </div>
<roundcube:include file="/includes/footer.html" />
<script type="text/javascript" src="/zen-form.js"></script> <script type="text/javascript" src="/zen-form.js"></script>
<script type="text/javascript">
<roundcube:include file="/includes/footer.html" /> $(document).ready(function() {
UI.set('exitfullscreen', '<roundcube:label name="exitfullscreen" quoting="javascript" />');
UI.set('switchtheme', '<roundcube:label name="switchtheme" quoting="javascript" />');
});
</script>
</body> </body>
</html> </html>

Loading…
Cancel
Save