summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2015-01-30 15:14:33 +0100
committerGéry Debongnie <ged@odoo.com>2015-01-30 15:14:33 +0100
commit7dfceb8f7e141ca489be9f95687747b75aa111f9 (patch)
tree88a3d4ea5af8bde06824836086fdcb926bf83fc1 /addons/web/static/src/js
parentaad2a3cca97d07d961e112eaf12d47212694c4cc (diff)
[FIX] web: unbreak tree view
The do_show and do_hide methods did not call their _super, which is bad. Also, add an icon for the poor treeview.
Diffstat (limited to 'addons/web/static/src/js')
-rw-r--r--addons/web/static/src/js/view_tree.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/web/static/src/js/view_tree.js b/addons/web/static/src/js/view_tree.js
index 06e19e28ca9..aac7198f2c3 100644
--- a/addons/web/static/src/js/view_tree.js
+++ b/addons/web/static/src/js/view_tree.js
@@ -258,11 +258,13 @@ instance.web.TreeView = instance.web.View.extend(/** @lends instance.web.TreeVie
do_show: function () {
this.$el.show();
+ this._super();
},
do_hide: function () {
this.$el.hide();
this.hidden = true;
+ this._super();
}
});
})();