Bugzilla – Attachment 3818 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]
Follow up, for other files
0002-Bug-6126-Slip-print-doesn-t-work-on-Webkit-based-bro.patch (text/plain), 2.88 KB, created by
Tomás Cohen Arazi (tcohen)
on 2011-04-07 18:09:55 UTC
(
hide
)
Description:
Follow up, for other files
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2011-04-07 18:09:55 UTC
Size:
2.88 KB
patch
obsolete
>From 26f955a619ace2befd01c8c12dbc662867bd90bd Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Thu, 7 Apr 2011 15:01:24 -0300 >Subject: [PATCH 2/2] [Bug 6126] Slip print doesn't work on Webkit based browsers >Content-Type: text/plain; charset="utf-8" > >Fix the fix and a few more files >--- > .../en/modules/members/moremember-receipt.tmpl | 2 +- > .../prog/en/modules/members/printfeercpt.tmpl | 4 +++- > .../prog/en/modules/members/printinvoice.tmpl | 4 +++- > 3 files changed, 7 insertions(+), 3 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 e5069d4..cb7448f 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 >@@ -6,7 +6,7 @@ > > <script language="javascript"> > >- function printiThenClose() { >+ function printThenClose() { > window.print(); > window.close(); > } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tmpl >index b5155b9..540c361 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printfeercpt.tmpl >@@ -4,11 +4,13 @@ > <link rel="shortcut icon" href="<!-- TMPL_IF NAME="IntranetFavicon" --><!-- TMPL_VAR NAME="IntranetFavicon" --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="themelang" -->/includes/favicon.ico<!-- /TMPL_IF -->" type="image/x-icon" /> > <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/css/printreceiptinvoice.css" /> > <script language="javascript"> >+ function printThenClose() { > window.print(); > window.close(); >+ } > </script> > </head> >-<body> >+<body onload="printThenClose();"> > > <div id="receipt"> > <!-- The table with the account items --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tmpl >index 62ebab1..515ae50 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tmpl >@@ -4,11 +4,13 @@ > <link rel="shortcut icon" href="<!-- TMPL_IF NAME="IntranetFavicon" --><!-- TMPL_VAR NAME="IntranetFavicon" --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="themelang" -->/includes/favicon.ico<!-- /TMPL_IF -->" type="image/x-icon" /> > <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/css/printreceiptinvoice.css" /> > <script language="javascript"> >+ function printThenClose() { > window.print(); > window.close(); >+ } > </script> > </head> >-<body> >+<body onload="printThenClose();"> > > <div id="receipt"> > <!-- The table with the account items --> >-- >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