Skip to content

Commit

Permalink
style: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
prssanna committed Mar 26, 2021
1 parent e22542a commit 7fe570c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions frappe/public/js/frappe/ui/filters/field_select.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,10 @@ frappe.ui.FieldSelect = Class.extend({
});
this.$input.on("awesomplete-open", () => {
let modal = this.$input.parents('.modal-dialog')[0];
console.log('opened', modal);
if (modal) {
$(modal).removeClass("modal-dialog-scrollable");
}
})
});
this.$input.on("awesomplete-close", () => {
let modal = this.$input.parents('.modal-dialog')[0];
if (modal) {
Expand Down
2 changes: 2 additions & 0 deletions frappe/public/js/frappe/ui/filters/filter_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ frappe.ui.FilterGroup = class {
}

get_filter_area_template() {
/* eslint-disable indent */
return $(`
<div class="filter-area">
<div class="filter-edit-area">
Expand All @@ -309,6 +310,7 @@ frappe.ui.FilterGroup = class {
</div>
</div>`
);
/* eslint-disable indent */
}

get_filters_as_object() {
Expand Down
2 changes: 1 addition & 1 deletion frappe/public/js/frappe/widgets/chart_widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ export default class ChartWidget extends Widget {
fieldtype: this.report_result.chart.fieldtype,
options: this.report_result.chart.options
}, { always_show_decimals: true, inline: true })
}
};
}

if (this.chart_doc.type == "Heatmap") {
Expand Down

0 comments on commit 7fe570c

Please sign in to comment.