summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-11-09 11:34:50 +0100
committerXavier Morel <xmo@openerp.com>2011-11-09 11:34:50 +0100
commit820a58cc4c2996c4f7d869dff95df71d116d3a5c (patch)
tree862e5334036c58a29a309c2322ec90e8e8d64236 /addons/web/static/src
parent58cc44a2f5806278500d2d2227fef497ac383798 (diff)
[FIX] implicit global and duplicate local (wow)
bzr revid: xmo@openerp.com-20111109103450-hiy0ooj2b6ay7arq
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/js/views.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js
index 62928401492..b23c00f2c6d 100644
--- a/addons/web/static/src/js/views.js
+++ b/addons/web/static/src/js/views.js
@@ -625,8 +625,8 @@ session.web.Sidebar = session.web.Widget.extend({
var $section = this.sections[code];
if(!$section) {
- section_id = _.uniqueId(this.element_id + '_section_' + code + '_');
- var $section = $(session.web.qweb.render("Sidebar.section", {
+ var section_id = _.uniqueId(this.element_id + '_section_' + code + '_');
+ $section = $(session.web.qweb.render("Sidebar.section", {
section_id: section_id,
name: name,
classname: 'oe_sidebar_' + code