Generic chooser: links on result list lead to JSON response #11780
Labels
component:Choosers
Modal choosers for Page, Snippet and other models
status:Unconfirmed
Issue, usually a bug, that has not yet been validated as a confirmed problem.
type:Bug
Issue Summary
Using the middle click on an entry in the result lists opens a JSON in a new tab.
It seems like the chooser modal uses this url to get its info on how to react on the selected result:
Unfortunately, this leads some users to this page:
To avoid having clueless users open a JSON page:
Can we use a different data-attribute to load the relevant data, but keep the edit-url in "href", so the middle click would work? Alternatively change the link to a button.
I've found #5408, which is basically the same issue with the page chooser, but in that case the link uses an anchor.
Steps to Reproduce
Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?
Technical details
Working on this
Anyone can contribute to this. View our contributing guidelines, add a comment to the issue once you’re ready to start.
The text was updated successfully, but these errors were encountered: