summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src/js/graph.js
diff options
context:
space:
mode:
authorGery Debongnie <ged@openerp.com>2013-12-06 17:26:41 +0100
committerGery Debongnie <ged@openerp.com>2013-12-06 17:26:41 +0100
commit66c8114768376670408a856a3c10bb342b40de5e (patch)
tree1fd26d936d4b37bb9e5c4fbe9faaf0049c550698 /addons/web_graph/static/src/js/graph.js
parent65a0a97d67e02b5a659838bf54cd2accb892bc89 (diff)
[REF] removes two useless lines (addon web_graph)
bzr revid: ged@openerp.com-20131206162641-27rerhfa56y6nf4e
Diffstat (limited to 'addons/web_graph/static/src/js/graph.js')
-rw-r--r--addons/web_graph/static/src/js/graph.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js
index 7efc482f2dd..a5de9f2dde7 100644
--- a/addons/web_graph/static/src/js/graph.js
+++ b/addons/web_graph/static/src/js/graph.js
@@ -317,14 +317,11 @@ instance.web_graph.GraphView = instance.web.View.extend({
display_dropdown: function (options) {
var self = this,
pivot = this.pivot_table,
- // already_grouped = pivot.rows.groupby.concat(pivot.cols.groupby),
- // possible_groups = _.difference(self.important_fields, already_grouped),
dropdown_options = {
header_id: options.id,
fields: _.map(self.important_fields, function (field) {
return {id: field, value: self.fields[field].string};
})};
-
this.dropdown = $(QWeb.render('field_selection', dropdown_options));
options.target.after(this.dropdown);
this.dropdown.css({position:'absolute',