Update frappe/core/doctype/document_naming_rule/document_naming_rule.js

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
This commit is contained in:
Mohammad Hasnain Mohsin Rajan 2021-05-21 11:38:43 +05:30 committed by GitHub
parent c9dc4ee441
commit bcb4c5182f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,