From 97712c2cca26bc84e8486cbda1b428c489caf070 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 12 Apr 2011 08:45:22 -0400 Subject: [PATCH] Bug 6126: Slip print doesn't work on Webkit based browsers Wrap window.print();window.close(); with a function called when body has finished loading. Prevents webkit from closing before page is loaded and print dialog presented to the user. Signed-off-by: Jared Camins-Esakov Signed-off-by: Chris Cormack --- .../prog/en/modules/members/moremember-receipt.tt | 4 +++- .../intranet-tmpl/prog/en/modules/members/printfeercpt.tt | 4 +++- .../intranet-tmpl/prog/en/modules/members/printinvoice.tt | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt index aa76755c18..4a85ccbf6c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tt @@ -5,11 +5,13 @@ - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt index f1a661deb7..7625260ce2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tt @@ -4,11 +4,13 @@ - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt index d2933dfffe..a712e839b7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tt @@ -4,11 +4,13 @@ - +
-- 2.39.5