[FIX] Minor change in issue of open sidebar on checked list record.

bzr revid: kbh@bde-desktop-20111003071807-9rmozt1m9h9tqxci
This commit is contained in:
kbh 2011-10-03 12:48:07 +05:30
parent de41cf7234
commit e2acbb9db7
1 changed files with 1 additions and 1 deletions

View File

@ -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();