Collections icon indicating copy to clipboard operation
Collections copied to clipboard

right click and open in a new tab when clicking on view or edit button broken

Open jonleverrier opened this issue 7 years ago • 1 comments

Summary

When you go to right click and open a new window on the view or edit buttons, it doesn't open in a new window.

modx_collections

Step to reproduce

Try and open a new browser window by pressing cmd + click on either the view or edit

Observed behavior

Nothing happens when you go to right click and open a new window when pressing the view or edit button. Right clicking over the resource title works - and opens the edit resource page in a new window.

Expected behavior

When you right click over the edit or view buttons, they should open in a new browser window.

Environment

Collections 3.6.0.pl

Related issues: https://github.com/modxcms/Collections/issues/214 https://github.com/modxcms/Collections/issues/243 https://github.com/modxcms/Collections/issues/255

Related commit: https://github.com/modxcms/Collections/commit/adee5ab70e69df7f01f2f2f216a6cbb077278c90

jonleverrier avatar Sep 11 '18 12:09 jonleverrier

I can't reproduce it in 3.6.0, edit and view button is an a tag with href correctly set and it works for me to cmd+click to open in new tab.

theboxer avatar May 28 '19 09:05 theboxer