Bugzilla – Attachment 4086 Details for
Bug 4951
print page doesn't close after print
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Signed off patch
0001-Bug-4951-Print-page-doesn-t-close-after-print-This-p.patch (text/plain), 1.33 KB, created by
Chris Cormack
on 2011-05-12 22:25:56 UTC
(
hide
)
Description:
Signed off patch
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-05-12 22:25:56 UTC
Size:
1.33 KB
patch
obsolete
>From 7b440f2b2ba28b9d0ecca80f5e738554aff29a6f Mon Sep 17 00:00:00 2001 >From: Liz Rea <lrea@nekls.org> >Date: Wed, 27 Apr 2011 12:59:41 -0500 >Subject: [Signed Off] [PATCH] Bug 4951 - Print page doesn't close after print This patch adds the print/close functionality present on all other slips to the full page account summary. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > .../prog/en/modules/members/moremember-print.tt | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt >index 0452614..f84052b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt >@@ -3,6 +3,14 @@ > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% themelang %]/includes/favicon.ico[% END %]" type="image/x-icon" /> > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/print.css" /> >+<script language="javascript"> >+ function printThenClose() { >+ window.print(); >+ window.close(); >+ } >+</script> >+<body onload="printThenClose();"> >+ > </head> > <body> > >-- >1.7.4.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 4951
:
4011
|
4012
| 4086