controllers is family form fixes 2
bzr revid: al@openerp.com-20110718135930-a23vdzjy4ch8ozeh
This commit is contained in:
parent
e703080b51
commit
8f9bea5393
|
@ -528,16 +528,9 @@ openerp.base.BaseWidget = openerp.base.Controller.extend({
|
|||
* lets the widgets clean up after themselves.
|
||||
*/
|
||||
stop: function () {
|
||||
var tmp_children = this.children;
|
||||
this.children = [];
|
||||
_.each(tmp_children, function(x) {
|
||||
x.stop();
|
||||
});
|
||||
if(this.$element != null) {
|
||||
this.$element.remove();
|
||||
}
|
||||
this.set_parent(null);
|
||||
this._super();
|
||||
},
|
||||
/**
|
||||
* Render the widget. This.template must be defined.
|
||||
|
|
|
@ -254,8 +254,9 @@ openerp.base.ListView = openerp.base.View.extend( /** @lends openerp.base.ListVi
|
|||
})
|
||||
.val(self._limit || 'NaN');
|
||||
});
|
||||
|
||||
// debugger;
|
||||
this.view_manager.sidebar.set_toolbar(data.fields_view.toolbar);
|
||||
|
||||
},
|
||||
/**
|
||||
* Configures the ListView pager based on the provided dataset's information
|
||||
|
|
Loading…
Reference in New Issue