summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2015-03-24 14:29:51 +0100
committerAaron Bohy <aab@odoo.com>2015-03-24 14:38:45 +0100
commitcc9c7e4539428a58a31d3168456598714c6292f9 (patch)
treec6fa8b1a1c8357604c2f386380f7d2253ab9e427 /addons/web/static/src/js/framework
parent06dfb4baef6645b393648be58bd4b0499854f967 (diff)
[FIX] Web: view.js: rpc call to load sidebar content
this.options.$sidebar usage has been changed at rev. 1280bf25137ee210b555201157029da61ae3914f and a flag this.options.sidebar was introduced ($sidebar now simply represents a jQuery element where the sidebar has to be rendered, whereas sidebar represents whether or not a sidebar has to be rendered). The old variable $sidebar was still used for the rpc to get the content of the sidebar stored server-side, resulting in a sidebar with missing content.
Diffstat (limited to 'addons/web/static/src/js/framework')
-rw-r--r--addons/web/static/src/js/framework/view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/framework/view.js b/addons/web/static/src/js/framework/view.js
index 42ad86b4044..4c28474eaa4 100644
--- a/addons/web/static/src/js/framework/view.js
+++ b/addons/web/static/src/js/framework/view.js
@@ -40,7 +40,7 @@ var View = Widget.extend({
view_loaded_def = this.dataset._model.fields_view_get({
"view_id": this.view_id,
"view_type": this.view_type,
- "toolbar": !!this.options.$sidebar,
+ "toolbar": !!this.options.sidebar,
"context": this.dataset.get_context(),
});
}