]> git.evergreen-ils.org Git - 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)
committerJason Stephenson <jason@sigio.com>
Fri, 12 Feb 2021 17:15:50 +0000 (12:15 -0500)
commit663d5af725644956073c75abe4cbfb345fec9be5
tree17bea92d5d6bdb3f866b9a1346d155d4e27500e4
parent61f94aa142c4cc4d3046b663f6a3678382200db7
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>
Open-ILS/src/templates/opac/parts/record/copy_table.tt2