fix: frappe linter

This commit is contained in:
Anupam 2021-07-29 11:05:38 +05:30
parent b1350af1f6
commit e5fea372af

View File

@ -11,8 +11,8 @@ frappe.ui.form.on("Email Digest", {
name: frm.doc.name
},
callback: function(r) {
var d = new frappe.ui.Dialog({
title: __('Email Digest: ') + frm.doc.name,
let d = new frappe.ui.Dialog({
title: __('Email Digest: {0}', [frm.doc.name]),
width: 800
});
$(d.body).html(r.message);