[IMP]replace add* method.
bzr revid: vme@tinyerp.com-20121009124908-r33qqpx15ea39p78
This commit is contained in:
parent
876073f5ec
commit
5645a84a16
|
@ -25,9 +25,9 @@ instance.web.form.DashBoard = instance.web.form.FormWidget.extend({
|
||||||
}).bind('sortstop', self.do_save_dashboard);
|
}).bind('sortstop', self.do_save_dashboard);
|
||||||
|
|
||||||
var old_title = this.__parentedParent.get('title');
|
var old_title = this.__parentedParent.get('title');
|
||||||
this.__parentedParent.on_record_loaded.add_last(function(){
|
this.__parentedParent.on('record_load', this, function(){
|
||||||
self.__parentedParent.set({ 'title' : old_title});
|
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