diff options
| author | Jérome Maes <jem@openerp.com> | 2014-09-02 16:19:50 +0200 |
|---|---|---|
| committer | Jérome Maes <jem@openerp.com> | 2014-09-02 18:52:27 +0200 |
| commit | 7ca76c8ed7232dffe37e660437eb8da7bec36617 (patch) | |
| tree | 895142cb7d01e781d2ab07e02c1a34f0366e9cb2 /addons/im_chat/static/src/js | |
| parent | e95aeb659cfe17a2e11e21a3ed691e6956abeedd (diff) | |
[FIX] im_chat : scroll down on opening conversation and add scroll bar on user list
Diffstat (limited to 'addons/im_chat/static/src/js')
| -rw-r--r-- | addons/im_chat/static/src/js/im_chat.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/im_chat/static/src/js/im_chat.js b/addons/im_chat/static/src/js/im_chat.js index a6156f8f43c..d06ee9f09f9 100644 --- a/addons/im_chat/static/src/js/im_chat.js +++ b/addons/im_chat/static/src/js/im_chat.js @@ -267,7 +267,6 @@ this.set("pending", this.get("pending") + 1); } this.insert_messages([message]); - this._go_bottom(); }, send_message: function(message, type) { var self = this; @@ -325,6 +324,7 @@ }); // render and set the content of the chatview this.$('.oe_im_chatview_content_bubbles').html($(openerp.qweb.render("im_chat.Conversation_content", {"list": res}))); + this._go_bottom(); }, keydown: function(e) { if(e && e.which !== 13) { |
