Bug 25791: Remove win.print()
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 15 Jul 2020 22:28:07 +0000 (22:28 +0000)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Wed, 9 Sep 2020 09:27:31 +0000 (21:27 +1200)
commit25fe729b4112bd856bdea0d178ed55ab9fc191ee
treedfbcd8b16594e67a640de40c369ec4e5fdf44a33
parent21f47a0dfd87ee386f190e77b13a28e2c7bcbd3c
Bug 25791: Remove win.print()

Test plan:
1) Turn on system preference SelfCheckReceiptPrompt
2) Check out item via /cgi-bin/koha/sco/sco-main.pl
3) Click "Finish"
4) Click 'Print receipt and end session'
5) Notice two print dialog boxes right on top of each other
6) Apply patch
7) Repeat steps 1 - 4
8) Should only get a single print dialog.
9) Test in FF/Chrome and make sure behavior is consistent

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 6797f07bbdfb90c556f52bfe2f83cefdf91495f3)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 59b67c3b37ed92926e9c75c0637c58af255ecec2)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt