From bcb4c5182ffdb9d7d70b239d8ee6b222ece63f0e Mon Sep 17 00:00:00 2001 From: Mohammad Hasnain Mohsin Rajan Date: Fri, 21 May 2021 11:38:43 +0530 Subject: [PATCH] Update frappe/core/doctype/document_naming_rule/document_naming_rule.js Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com> --- .../core/doctype/document_naming_rule/document_naming_rule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/core/doctype/document_naming_rule/document_naming_rule.js b/frappe/core/doctype/document_naming_rule/document_naming_rule.js index cd85615f5f..b1123cba28 100644 --- a/frappe/core/doctype/document_naming_rule/document_naming_rule.js +++ b/frappe/core/doctype/document_naming_rule/document_naming_rule.js @@ -50,7 +50,7 @@ frappe.ui.form.on('Document Naming Rule', { }); }; - var dialog = new frappe.ui.Dialog({ + const dialog = new frappe.ui.Dialog({ title: __('Update Counter Value for Prefix: {0}', [frm.doc.prefix]), fields, primary_action_label,