projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78e718a
)
[IMP] im_chat: set auto focus on search box
author
Akash Balar
<aba@openerp.com>
Wed, 20 Aug 2014 06:21:40 +0000
(11:51 +0530)
committer
Richard Mathot
<rim@openerp.com>
Thu, 11 Sep 2014 09:27:19 +0000
(11:27 +0200)
addons/im_chat/static/src/js/im_chat.js
patch
|
blob
|
history
diff --git
a/addons/im_chat/static/src/js/im_chat.js
b/addons/im_chat/static/src/js/im_chat.js
index
ca701d2
..
4188d6f
100644
(file)
--- a/
addons/im_chat/static/src/js/im_chat.js
+++ b/
addons/im_chat/static/src/js/im_chat.js
@@
-531,6
+531,7
@@
this.calc_box();
var fct = _.bind(function(place) {
this.set("right_offset", place + this.$el.outerWidth());
+ this.$(".oe_im_searchbox").focus();
}, this);
var opt = {
step: fct,