summaryrefslogtreecommitdiff
path: root/addons/base_graph/static/src/js/graph.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-06-17 11:32:59 +0200
committerXavier Morel <xmo@openerp.com>2011-06-17 11:32:59 +0200
commit23d76c574fb386efcb335c1170cb1fcd627c532b (patch)
tree8dec82942fdb4159df75432e5c0c1cdbfbd957e0 /addons/base_graph/static/src/js/graph.js
parent485adfdef9db1ecac8cefc4b171fd940eadd5a91 (diff)
[FIX] Assigning variables to themselves is a NOOP in Javascript, and just noise
bzr revid: xmo@openerp.com-20110617093259-eltod1l1ytsyq82h
Diffstat (limited to 'addons/base_graph/static/src/js/graph.js')
-rw-r--r--addons/base_graph/static/src/js/graph.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/base_graph/static/src/js/graph.js b/addons/base_graph/static/src/js/graph.js
index 73609175798..bd54a68a117 100644
--- a/addons/base_graph/static/src/js/graph.js
+++ b/addons/base_graph/static/src/js/graph.js
@@ -338,8 +338,6 @@ openerp.base_graph.GraphView = openerp.base.Controller.extend({
id = id[self.chart_info_fields];
if (typeof id == 'object'){
id = id[0];
- }else{
- id = id;
}
if(this.view_manager.action.context){
this.view_manager.action.context = {};