fix: handle '/' in the route
This commit is contained in:
parent
e53aa9c31e
commit
ab6bcfdf77
1 changed files with 5 additions and 0 deletions
|
|
@ -405,6 +405,11 @@ frappe.router = {
|
|||
route.shift();
|
||||
}
|
||||
|
||||
// Handle cases where "/" is part of the name
|
||||
if (route[0] === "Form" && route.length > 3) {
|
||||
route = [route[0], route[1], route.slice(2).join("/")];
|
||||
}
|
||||
|
||||
return route;
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue