Browse Source

[FIX] show subject in channel_all

pull/20/head
x620 9 years ago
parent
commit
f17c9d934d
  1. 9
      mail_all/static/src/js/mail_all.js

9
mail_all/static/src/js/mail_all.js

@ -16,6 +16,15 @@ var web_client = require('web.web_client');
var _lt = core._lt; var _lt = core._lt;
//------------------------------------------------------------------------------- //-------------------------------------------------------------------------------
var ChatAction = core.action_registry.get('mail.chat.instant_messaging');
ChatAction.include({
get_thread_rendering_options: function (messages) {
var options = this._super.apply(this, arguments);
options.display_subject = options.display_subject || this.channel.id === "channel_all";
return options;
}
});
// Inherit class and override methods // Inherit class and override methods
base_obj.MailTools.include({ base_obj.MailTools.include({
get_properties: function(msg){ get_properties: function(msg){

Loading…
Cancel
Save