Description
Is there an existing issue for this?
- I have searched the existing issues
What happened?
If a non-"Standard" type page with "Open Link In New Window" enabled is switched to type "Standard", the menu link still opens in a new tab/window. This is especially problematic when the page is disabled, as it will open a new tab/window to nowhere.
Steps to reproduce?
- Create a page with a type other than Standard (ie. URL)
- Enable "Open Link In New Window"
- Switch the page type to "Standard"
- (Optional, to demonstrate the more problematic case) Switch "Disable Page" to enabled (Advanced -> More)
- Make sure "Display in Menu" is enabled (it is by default)
- Save
- Refresh; click the menu link to that page
Current Behavior
Page opens in new tab/window, or new tab/window to nowhere opens if disabled
Expected Behavior
Page should open in current window, or if disabled, do nothing.
Another way to resolve this would be to show the "Open Link In New Window" option for "Standard" pages. The other three page types already show it, and it could be a valid option for "Standard" pages as well. If the page is disabled however, this option should do nothing.
This solution would stay closer to existing behavior. It's likely there are site admins out there aware of this issue and using it to their advantage.
Relevant log output
Anything else?
Tested/occurring in v9.13.9 in addition to v10.0.1.
Affected Versions
10.0.1 (latest v10 release)
What browsers are you seeing the problem on?
Chrome
Code of Conduct
- I agree to follow this project's Code of Conduct