Lp 1913219: Use window.open for staff catalog edit link
authorJason Stephenson <jason@sigio.com>
Tue, 2 Feb 2021 17:46:49 +0000 (12:46 -0500)
committerJason Stephenson <jason@sigio.com>
Wed, 10 Feb 2021 20:14:55 +0000 (15:14 -0500)
commit6a4a3a722a52a64d3a1d4cdf8ca9600041e83053
tree264484c14a12e1bad1e51e6ebbd633881f9f96ac
parent04c8f1f456f4dd1b2901e2e84bce148d0d07b5a3
Lp 1913219: Use window.open for staff catalog edit link

To avoid the "Scripts may close only the windows that were opened by
them" console message in Chrome 88, and a similar message in Firefox
84, when clicking "Save & Exit" in the Volume/Copy editor of the
AngularJS staff client after opening it via the "edit" link in the
copy table of the TT OPAC record summary, we use an onclick handler
with window.open instead of a standard href in the edit anchor.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/templates/opac/parts/record/copy_table.tt2