fix(typo): formatter.js

This commit is contained in:
Rushabh Mehta 2019-05-07 17:35:56 +05:30
parent 971a219414
commit b391d698b8

View file

@ -118,7 +118,7 @@ frappe.form.formatters = {
{onclick: docfield.link_onclick.replace(/"/g, '"'), value:value});
} else if(docfield && doctype) {
return `<a class="grey"
href="#Form/${encodeURIComponent(doctype)}/${encodeURIComponent(original_value)}
href="#Form/${encodeURIComponent(doctype)}/${encodeURIComponent(original_value)}"
data-doctype="${doctype}"
data-name="${original_value}">
${__(options && options.label || value)}</a>`