[REF] removes two useless lines (addon web_graph)
bzr revid: ged@openerp.com-20131206162641-27rerhfa56y6nf4e
This commit is contained in:
parent
65a0a97d67
commit
66c8114768
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue