summaryrefslogtreecommitdiff
path: root/addons/web_dashboard/static/src
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2012-02-29 12:07:44 +0100
committerniv-openerp <nicolas.vanhoren@openerp.com>2012-02-29 12:07:44 +0100
commit7eb12aee74633e4f240b0373eae476788c14ecba (patch)
treee6b364d80643f45dde96d3341f92fb6dc925d5b8 /addons/web_dashboard/static/src
parent2da29835334266a278e030411d1a3539fc7d11e2 (diff)
[imp] renammed render_element
bzr revid: nicolas.vanhoren@openerp.com-20120229110744-0m55gqlme6s225jv
Diffstat (limited to 'addons/web_dashboard/static/src')
-rw-r--r--addons/web_dashboard/static/src/js/dashboard.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_dashboard/static/src/js/dashboard.js b/addons/web_dashboard/static/src/js/dashboard.js
index 793ad651b81..afe64e6284e 100644
--- a/addons/web_dashboard/static/src/js/dashboard.js
+++ b/addons/web_dashboard/static/src/js/dashboard.js
@@ -225,7 +225,7 @@ openerp.web.form.DashBoard = openerp.web.form.Widget.extend({
});
}
},
- render_element: function() {
+ renderElement: function() {
// We should start with three columns available
for (var i = this.node.children.length; i < 3; i++) {
this.node.children.push({
@@ -245,7 +245,7 @@ openerp.web.form.DashBoard = openerp.web.form.Widget.extend({
}
});
openerp.web.form.DashBoardLegacy = openerp.web.form.DashBoard.extend({
- render_element: function() {
+ renderElement: function() {
if (this.node.tag == 'hpaned') {
this.node.attrs.style = '2-1';
} else if (this.node.tag == 'vpaned') {