summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2014-11-28 14:34:56 +0100
committerGéry Debongnie <ged@odoo.com>2014-11-28 15:54:15 +0100
commit286d7f80bf6fe930c4eac33d6498642cc4a7a2cd (patch)
treec454a40d93f8ee633dd41266bb4442fec00f7b13 /addons
parent011942e45055d6bbb5042621b19accc95a25359f (diff)
[FIX] fix a crash when editing dashboard title (web)
fix is very simple. no further comment required I think.
Diffstat (limited to 'addons')
-rw-r--r--addons/board/static/src/js/dashboard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/board/static/src/js/dashboard.js b/addons/board/static/src/js/dashboard.js
index eb52bfbd017..e5aabb721b9 100644
--- a/addons/board/static/src/js/dashboard.js
+++ b/addons/board/static/src/js/dashboard.js
@@ -12,7 +12,7 @@ instance.web.form.DashBoard = instance.web.form.FormWidget.extend({
'click .oe_dashboard_link_change_layout': 'on_change_layout',
'click h2.oe_header span.oe_header_txt': function (ev) {
if(ev.target === ev.currentTarget)
- self.on_header_string($(ev.target).parent());
+ this.on_header_string($(ev.target).parent());
},
'click .oe_dashboard_column .oe_fold': 'on_fold_action',
'click .oe_dashboard_column .oe_close': 'on_close_action',