]> git.evergreen-ils.org Git - working/Evergreen.git/commit
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)
committerJane Sandberg <sandbej@linnbenton.edu>
Tue, 2 Feb 2021 19:57:27 +0000 (11:57 -0800)
commitc6df1f6b0ce5e363062eace125e848bca469282f
tree866374bb4e7d343401e36c42f0604b982e5b352a
parent43a802ae2c56c9342bfd3a6a4556292d00760d3e
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