You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/* © 2014-2015 Grupo ESOC <http://www.grupoesoc.es> * License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
*/ odoo.define('mail_full_expand.expand', function (require) { "use strict";
var Thread = require('mail.ChatThread');
Thread.include({ events: _.defaults({ "click .o_full_expand": "on_message_full_expand", }, Thread.prototype.events), on_message_full_expand: function(event) { // Get the action data and execute it to open the full view
var do_action = this.do_action, msg_id = $(event.currentTarget).data('message-id');
this.rpc("/web/action/load", { "action_id": "mail_full_expand.mail_message_action", }) .done(function(action) { action.res_id = msg_id; do_action(action); }); } });
});
|