[FIX] mail: composition button bindings + annoying button commented out

bzr revid: fva@openerp.com-20121018120253-mc260x4ljfzrhrsh
This commit is contained in:
Frédéric van der Essen 2012-10-18 14:02:53 +02:00
parent 00ad0dbed7
commit aa472b8f95
2 changed files with 3 additions and 1 deletions

View File

@ -369,6 +369,7 @@ openerp.mail = function(session) {
this.$el.replaceWith( $render );
this.$el = $render;
this.$('textarea').focus();
this.bind_events();
},
/* convert the compact mode into the compose message
@ -377,6 +378,7 @@ openerp.mail = function(session) {
var $render = $(session.web.qweb.render('mail.compose_message.compact', {'widget': this}));
this.$el.replaceWith( $render );
this.$el = $render;
this.bind_events();
},
});

View File

@ -246,7 +246,7 @@
-->
<t t-name="mail.compose_message.button_top_bar">
<div class="oe_topbar_compose_full_email">
<button class="oe_button oe_highlight">Write an email</button>
<!-- <button class="oe_button oe_highlight">Write an email</button> -->
</div>
</t>