hide chart area when mandatory filters are not set
using this.chart_area.hide() instead of this.chart_area.toggle(true);
This commit is contained in:
parent
f2cce63cfb
commit
6e7893dbea
1 changed files with 1 additions and 1 deletions
|
|
@ -412,7 +412,7 @@ frappe.views.QueryReport = Class.extend({
|
|||
if(v) filters[f.df.fieldname] = v;
|
||||
})
|
||||
if(raise && mandatory_fields.length) {
|
||||
this.chart_area.toggle(true);
|
||||
this.chart_area.hide();
|
||||
this.wrapper.find(".waiting-area").empty().toggle(false);
|
||||
this.wrapper.find(".no-report-area").html(__("Please set filters")).toggle(true);
|
||||
if(raise) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue