Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form menu links cause errors when opened in new tab/window #717

Closed
jaandrews opened this issue Feb 4, 2022 · 3 comments
Closed

Form menu links cause errors when opened in new tab/window #717

jaandrews opened this issue Feb 4, 2022 · 3 comments

Comments

@jaandrews
Copy link

The links to the form editors in the tree navigation have an extra "/" that causes the the page to throw the following error when opened in a new tab or window.

Uncaught Error: [$location:badpath] Invalid url "//forms/form/edit/c796f357-4ea4-4d50-a3d6-4f3a225b9c71".

This is because the href starts with "#//" when it should start with "#/." There's an unneeded "/" somewhere that just needs to be removed to fix this issue. This isn't urgent by any means, since the click handling bypasses this issue when navigating normally. It just makes it a little easier to open a form in another tab/window to compare with the current form.

For reference I encounter this problem in umbraco 8.17.1 with umbraco forms 8.10.1

@AndyButland
Copy link

AndyButland commented Feb 5, 2022

Thanks for reporting. That looks like an easy fix to remove the double slash. I have a silly question though, how do you open the form in a new window? As the usual right-click menu is disabled as it launches the menu with the move, copy, delete etc. actions.

@AndyButland
Copy link

Have fixed the links to remove the additional slash. Will be updated in the next patch releases.

@jaandrews
Copy link
Author

My mouse has a clickable mouse wheel that opens a link in a new tab when pressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants