Bugzilla – Attachment 3817 Details for
Bug 6126
Slip print doesn't work on Webkit based browsers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Wrap print then close js in a function and wait for the page to load (onload)
0001-Bug-6126-Fix-slip-printing-in-webkit-issues.patch (text/plain), 1.05 KB, created by
Tomás Cohen Arazi (tcohen)
on 2011-04-07 16:18:04 UTC
(
hide
)
Description:
Wrap print then close js in a function and wait for the page to load (onload)
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2011-04-07 16:18:04 UTC
Size:
1.05 KB
patch
obsolete
>From 51cb1f1291d98617b746360c318701aa4c4624e9 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Thu, 7 Apr 2011 13:15:26 -0300 >Subject: [PATCH] [Bug 6126] Fix slip printing in webkit issues >Content-Type: text/plain; charset="utf-8" > >--- > .../en/modules/members/moremember-receipt.tmpl | 6 +++++- > 1 files changed, 5 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tmpl >index c6535cf..e5069d4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-receipt.tmpl >@@ -5,11 +5,15 @@ > <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/css/print.css" /> > > <script language="javascript"> >+ >+ function printiThenClose() { > window.print(); > window.close(); >+ } >+ > </script> > </head> >-<body> >+<body onload="printThenClose();"> > > <div id="receipt"> > >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6126
:
3817
|
3818
|
3890
|
3891
|
3896
|
3943