From 23d76c574fb386efcb335c1170cb1fcd627c532b Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Fri, 17 Jun 2011 11:32:59 +0200 Subject: [PATCH] [FIX] Assigning variables to themselves is a NOOP in Javascript, and just noise bzr revid: xmo@openerp.com-20110617093259-eltod1l1ytsyq82h --- addons/base_graph/static/src/js/graph.js | 2 -- 1 file changed, 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 = {};