[IMP]mail: js/dom in progress
bzr revid: chm@openerp.com-20121017150327-eo8z8kqaa2dnoc10
This commit is contained in:
parent
241c53ce36
commit
de47c4cb52
|
@ -881,9 +881,9 @@ openerp.mail = function(session) {
|
|||
});
|
||||
|
||||
if(this.datasets.thread_level){
|
||||
this.ComposeMessage.prependTo(this.$el);
|
||||
} else {
|
||||
this.ComposeMessage.appendTo(this.$el);
|
||||
} else {
|
||||
this.ComposeMessage.prependTo(this.$el);
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -1142,11 +1142,11 @@ openerp.mail = function(session) {
|
|||
if(sort){
|
||||
message.insertBefore(parent_older.$el);
|
||||
} else {
|
||||
message.insertAfter(parent_older.thread.$el);
|
||||
message.insertAfter(parent_older.thread ? parent_older.thread.$el : parent_older.$el);
|
||||
}
|
||||
} else if(parent_newer){
|
||||
if(sort){
|
||||
message.insertAfter(parent_newer.thread.$el);
|
||||
message.insertAfter(parent_newer.thread ? parent_newer.thread.$el : parent_newer.$el);
|
||||
} else {
|
||||
message.insertBefore(parent_newer.$el);
|
||||
}
|
||||
|
|
|
@ -178,7 +178,7 @@
|
|||
<!-- message actions (read/unread, reply, delete...) -->
|
||||
<div class='oe_msg_right'>
|
||||
<div class="oe_msg_icons">
|
||||
<span class="placeholder-mail-star"><t t-call="mail.thread.message.star"/></span>
|
||||
<t t-call="mail.thread.message.star"/>
|
||||
<a t-if="widget.datasets.show_read_unread" title="Read" class="oe_read oe_e">W</a>
|
||||
<a t-if="widget.datasets.show_read_unread" title="Set back to unread" class="oe_unread oe_e">h</a>
|
||||
<a t-if="widget.datasets.show_reply" title="Reply" class="oe_reply oe_e">)</a>
|
||||
|
|
Loading…
Reference in New Issue