Merge pull request #12531 from resilient-tech/fix-404
fix: 404 not loading on formview due to undefined parameter
This commit is contained in:
commit
563cd20e9c
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ frappe.views.FormFactory = class FormFactory extends frappe.views.Factory {
|
|||
if (name && name.substr(0, 3) === 'new') {
|
||||
this.render_new_doc(doctype, name, doctype_layout);
|
||||
} else {
|
||||
frappe.show_not_found(route);
|
||||
frappe.show_not_found();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue