[FIX] Minor change in issue of open sidebar on checked list record.
lp bug: https://launchpad.net/bugs/856376 fixed bzr revid: kbh@bde-desktop-20111003071807-33zlrcc0vopiahoz
This commit is contained in:
parent
fdfe102cc4
commit
335c99fda4
|
@ -505,7 +505,7 @@ openerp.web.ListView = openerp.web.View.extend( /** @lends openerp.web.ListView#
|
|||
do_select: function (ids, records) {
|
||||
this.$element.find('.oe-list-delete')
|
||||
.attr('disabled', !ids.length);
|
||||
if(ids.length > 0) {
|
||||
if(ids.length) {
|
||||
this.sidebar.do_unfold();
|
||||
} else {
|
||||
this.sidebar.do_fold();
|
||||
|
|
Loading…
Reference in New Issue