[FIX] fix a crash when editing dashboard title (web)

fix is very simple. no further comment required I think.
This commit is contained in:
Géry Debongnie
2014-11-28 15:54:15 +01:00
parent 011942e450
commit 286d7f80bf
+1 -1
View File
@@ -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',