fix: route to form if name has slashes in it
This commit is contained in:
parent
a232c751e5
commit
c083ea3c62
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ frappe.router = {
|
|||
? meta.default_view
|
||||
: null
|
||||
);
|
||||
} else if (route[1] && route[1] !== "view" && !route[2]) {
|
||||
} else if (route[1] && route[1] !== "view") {
|
||||
let docname = route[1];
|
||||
if (route.length > 2) {
|
||||
docname = route.slice(1).join("/");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue