[FIX] mail: composition button bindings + annoying button commented out
bzr revid: fva@openerp.com-20121018120253-mc260x4ljfzrhrsh
This commit is contained in:
parent
00ad0dbed7
commit
aa472b8f95
|
@ -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();
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue