[imp] made related work with list view too
bzr revid: nicolas.vanhoren@openerp.com-20110826132835-ex26y5hyti3acgzk
This commit is contained in:
parent
a21f3c6686
commit
7a9ff57a0e
|
@ -599,8 +599,8 @@ openerp.base.ListView = openerp.base.View.extend( /** @lends openerp.base.ListVi
|
|||
});
|
||||
},
|
||||
get_selected_ids: function() {
|
||||
//TODO niv: this is false
|
||||
debugger;
|
||||
var ids = this.groups.get_selection().ids;
|
||||
return ids;
|
||||
}
|
||||
});
|
||||
openerp.base.ListView.List = openerp.base.Class.extend( /** @lends openerp.base.ListView.List# */{
|
||||
|
|
|
@ -377,6 +377,7 @@ openerp.base.Sidebar = openerp.base.Widget.extend({
|
|||
},
|
||||
start: function() {
|
||||
this._super(this);
|
||||
var self = this;
|
||||
this.$element.html(QWeb.render('Sidebar'));
|
||||
this.$element.find(".toggle-sidebar").click(function(e) {
|
||||
self.do_toggle();
|
||||
|
|
Loading…
Reference in New Issue