Browse Source

[FIX] error: Uncaught TypeError: Cannot read property 'name' of undefined

pull/6/head
x620 9 years ago
parent
commit
a838152ca2
  1. 4
      mail_base/static/src/js/base.js

4
mail_base/static/src/js/base.js

@ -698,10 +698,10 @@ var cls = new MailTools();
chat_manager.mail_tools = cls; chat_manager.mail_tools = cls;
// we add this function this way in order to make them extendable via MailTools.include({...}) // we add this function this way in order to make them extendable via MailTools.include({...})
chat_manager.make_message = function(){ chat_manager.make_message = function(){
chat_manager.mail_tools.make_message.apply(chat_manager.mail_tools, arguments)
return chat_manager.mail_tools.make_message.apply(chat_manager.mail_tools, arguments)
}; };
chat_manager.make_channel = function(){ chat_manager.make_channel = function(){
chat_manager.mail_tools.make_channel.apply(chat_manager.mail_tools, arguments)
return chat_manager.mail_tools.make_channel.apply(chat_manager.mail_tools, arguments)
}; };
chat_manager.post_message = function (data, options) { chat_manager.post_message = function (data, options) {
options = options || {}; options = options || {};

Loading…
Cancel
Save