summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/models/threads/abstract_thread.js
diff options
context:
space:
mode:
authorAlexandre Kühn <aku@odoo.com>2018-07-05 12:08:08 +0200
committerAlexandre Kühn <aku@odoo.com>2018-07-19 13:58:34 +0200
commit68c5ebbbeafd474e0ee3f77669072163e5dd65a5 (patch)
tree81e658d372e3310a7707aa9bb410ad4d5b09768f /addons/mail/static/src/js/models/threads/abstract_thread.js
parent915da49d173e9ab8d0c6d94cbeec124c83d23fc7 (diff)
[IMP] im_livechat, mail: website livechat model
Make use of a website livechat model, so that im_livechat can make use of this model. This provides an almost similar model for threads in the backend and in the frontend. As a consequence, im_livechat and website livechat windows have been adapted to handle a website livechat model.
Diffstat (limited to 'addons/mail/static/src/js/models/threads/abstract_thread.js')
-rw-r--r--addons/mail/static/src/js/models/threads/abstract_thread.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/js/models/threads/abstract_thread.js b/addons/mail/static/src/js/models/threads/abstract_thread.js
index 788a04307a7..08cf5cec2ab 100644
--- a/addons/mail/static/src/js/models/threads/abstract_thread.js
+++ b/addons/mail/static/src/js/models/threads/abstract_thread.js
@@ -13,7 +13,7 @@ var AbstractThread = Class.extend({
/**
* @param {Object} params
* @param {Object} params.data
- * @param {Object} params.data.id the ID of this thread
+ * @param {integer|string} params.data.id the ID of this thread
*/
init: function (params) {
this._id = params.data.id;