[FIX] fix a bug preventing hide and show method of chartview widget to function properly (addon web_graph)
bzr revid: ged@openerp.com-20131108154114-25zqn3jq5u6iuibt
This commit is contained in:
parent
906d5168cc
commit
4dd5ac9924
|
@ -1,8 +1,10 @@
|
|||
/*---------------------------------------------------------
|
||||
* OpenERP web_graph
|
||||
*---------------------------------------------------------*/
|
||||
/*global openerp:true*/
|
||||
/*global openerp:true $:true*/
|
||||
/*global $:true*/
|
||||
/*global _:true*/
|
||||
|
||||
'use strict';
|
||||
|
||||
openerp.web_graph = function (instance) {
|
||||
|
@ -117,11 +119,11 @@ var ChartView = instance.web.Widget.extend({
|
|||
measure: null,
|
||||
|
||||
show: function () {
|
||||
this.$el.css('display', 'block');
|
||||
$('.graph_chart').css('display', 'block');
|
||||
},
|
||||
|
||||
hide: function () {
|
||||
this.$el.css('display', 'none');
|
||||
$('.graph_chart').css('display', 'none');
|
||||
},
|
||||
|
||||
set_measure: function (measure) {
|
||||
|
|
Loading…
Reference in New Issue