[FIX]use this.options. for show parent class.
authorVidhin Mehta (OpenERP) <vme@tinyerp.com>
Tue, 27 Nov 2012 05:26:53 +0000 (10:56 +0530)
committerVidhin Mehta (OpenERP) <vme@tinyerp.com>
Tue, 27 Nov 2012 05:26:53 +0000 (10:56 +0530)
bzr revid: vme@tinyerp.com-20121127052653-6l366vviftbdamkp

addons/web/static/src/js/view_list.js

index 9d12ba6..3a2299a 100644 (file)
@@ -599,8 +599,8 @@ instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
 
         this.dataset.index = _(this.dataset.ids).indexOf(ids[0]);
         if (this.sidebar) {
+            this.options.$sidebar.show();
             this.sidebar.$el.show();
-            $(this.sidebar.$el).parent().show();
         }
 
         this.compute_aggregates(_(records).map(function (record) {