diff --git a/mail_base/__openerp__.py b/mail_base/__openerp__.py index 9cf607a..ce01512 100644 --- a/mail_base/__openerp__.py +++ b/mail_base/__openerp__.py @@ -4,7 +4,7 @@ "summary": """Makes Mail extendable""", "category": "Discuss", "images": [], - "version": "1.0.1", + "version": "1.0.2", "author": "IT-Projects LLC, Pavel Romanchenko", "support": "apps@it-projects.info", diff --git a/mail_base/doc/changelog.rst b/mail_base/doc/changelog.rst index a42098f..e50183c 100644 --- a/mail_base/doc/changelog.rst +++ b/mail_base/doc/changelog.rst @@ -1,3 +1,8 @@ +`1.0.2` +------- + +- **FIX**: fixed an error with unsubscribing from channel or closing dialog window + `1.0.1` ------- diff --git a/mail_base/static/src/js/base.js b/mail_base/static/lib/base.js similarity index 99% rename from mail_base/static/src/js/base.js rename to mail_base/static/lib/base.js index 19e1eb9..3971c9f 100644 --- a/mail_base/static/src/js/base.js +++ b/mail_base/static/lib/base.js @@ -612,7 +612,7 @@ var MailTools = core.Class.extend({ } else { msg = _.str.sprintf(_t('You unpinned your conversation with %s.'), channel.name); } - remove_channel(channel); + this.remove_channel(channel); chat_manager.bus.trigger("unsubscribe_from_channel", data.id); web_client.do_notify(_("Unsubscribed"), msg); } diff --git a/mail_base/views/templates.xml b/mail_base/views/templates.xml index cc3694d..4e2bb58 100644 --- a/mail_base/views/templates.xml +++ b/mail_base/views/templates.xml @@ -5,7 +5,7 @@ name="mail_base_assets_backend" inherit_id="web.assets_backend"> - +