Bugzilla – Attachment 14102 Details for
Bug 8033
remove unused sco/receipt template file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8033: Change javascipt behavior to degrade nicely
Bug-8033-Change-javascipt-behavior-to-degrade-nice.patch (text/plain), 1.37 KB, created by
Elliott Davis
on 2012-12-13 19:03:18 UTC
(
hide
)
Description:
Bug 8033: Change javascipt behavior to degrade nicely
Filename:
MIME Type:
Creator:
Elliott Davis
Created:
2012-12-13 19:03:18 UTC
Size:
1.37 KB
patch
obsolete
>From 44296566b796d27a7dfe98a54d4166b89c07b323 Mon Sep 17 00:00:00 2001 >From: Jared Camins-Esakov <jcamins@cpbibliography.com> >Date: Thu, 13 Dec 2012 12:48:16 -0500 >Subject: [PATCH] Bug 8033: Change javascipt behavior to degrade nicely > >Signed-off-by: Elliott Davis <elliott@test.bywatersolutions.com> >--- > .../opac-tmpl/prog/en/modules/sco/sco-main.tt | 11 +++++------ > 1 files changed, 5 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >index c8fae51..1398673 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >@@ -99,12 +99,11 @@ $(document).ready(function() { > }); > //]]> > $(document).ready(function(){ >- $("#logout_form input.finish").click(function(){ >- if(confirm("Would you like to print a receipt?")){ >- window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&print=qslip"); >- } >- $(this).parent().attr("action", "/cgi-bin/koha/sco/sco-main.pl?op=logout"); >- $(this).parent().submit(); >+ $("#logout_form").submit(function(){ >+ if(confirm("Would you like to print a receipt?")){ >+ window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&print=qslip"); >+ } >+ return true; > }); > }); > </script> >-- >1.7.2.5
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 8033
:
10648
|
10649
|
10677
|
10678
|
11112
|
12316
|
13559
|
13716
|
14024
|
14025
|
14026
|
14091
|
14094
|
14095
|
14096
|
14097
|
14098
|
14099
|
14100
|
14101
|
14102
|
14134
|
14496
|
14498
|
17373
|
17374
|
18053
|
18054
|
22301
|
22302
|
37489
|
37490
|
37497
|
37651