summaryrefslogtreecommitdiff
path: root/addons/google_map/static/src/js/google_map.js
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2012-08-24 20:27:43 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2012-08-24 20:27:43 +0200
commit65f532e00137e8dc6d752449db40b737144bcb0d (patch)
tree2794dba608387e303a91c1d20b2ada53e061b7c8 /addons/google_map/static/src/js/google_map.js
parent5e338c591ac76f57453563792fe20e9a20f31edc (diff)
[IMP] made a whole-application replace of $element by $el
bzr revid: nicolas.vanhoren@openerp.com-20120824182743-1d9cii7kigc7exer
Diffstat (limited to 'addons/google_map/static/src/js/google_map.js')
-rw-r--r--addons/google_map/static/src/js/google_map.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/google_map/static/src/js/google_map.js b/addons/google_map/static/src/js/google_map.js
index bd871eafe6b..23b70f5f6c3 100644
--- a/addons/google_map/static/src/js/google_map.js
+++ b/addons/google_map/static/src/js/google_map.js
@@ -59,7 +59,7 @@ openerp.event = function(instance, mod) {
address = _.str.sprintf('%(street)s, %(zip)s %(city)s', value);
}
// TODO repalce by widget_option selector self.options.selector
- var el = self.view.$element.find(".oe_google_map")[0];
+ var el = self.view.$el.find(".oe_google_map")[0];
self.map.render_map(address,el);
});
},