[IMP]Set title again which is replace by on_record_loaded method.
bzr revid: vme@tinyerp.com-20120906094404-ufxfcls2f6vntnob
This commit is contained in:
parent
29dba2a64f
commit
6f888ccb5e
|
@ -24,6 +24,10 @@ instance.web.form.DashBoard = instance.web.form.FormWidget.extend({
|
||||||
scroll: false
|
scroll: false
|
||||||
}).bind('sortstop', self.do_save_dashboard);
|
}).bind('sortstop', self.do_save_dashboard);
|
||||||
|
|
||||||
|
var old_title = this.__parentedParent.get('title');
|
||||||
|
this.__parentedParent.on_record_loaded.add_last(function(){
|
||||||
|
self.__parentedParent.set({ 'title' : old_title});
|
||||||
|
});
|
||||||
// Events
|
// Events
|
||||||
this.$el.find('.oe_dashboard_link_reset').click(this.on_reset);
|
this.$el.find('.oe_dashboard_link_reset').click(this.on_reset);
|
||||||
this.$el.find('.oe_dashboard_link_change_layout').click(this.on_change_layout);
|
this.$el.find('.oe_dashboard_link_change_layout').click(this.on_change_layout);
|
||||||
|
|
Loading…
Reference in New Issue