Bugzilla – Attachment 13716 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]
Change javascipt behavior to degrade nicely
Change-javascipt-behavior-to-degrade-nicely.patch (text/plain), 1.25 KB, created by
Mason James
on 2012-11-28 04:33:29 UTC
(
hide
)
Description:
Change javascipt behavior to degrade nicely
Filename:
MIME Type:
Creator:
Mason James
Created:
2012-11-28 04:33:29 UTC
Size:
1.25 KB
patch
obsolete
>From a83d2099b0fb5b78f37ef1b4bdd2fc9b146b2bfa Mon Sep 17 00:00:00 2001 >From: Elliott Davis <elliott@bywatersolutions.com> >Date: Tue, 2 Oct 2012 00:13:04 -0500 >Subject: [PATCH] Change javascipt behavior to degrade nicely >Content-Type: text/plain; charset="utf-8" >http://koha-community.org > >http://bugs.koha-community.org/show_bug.cgi?id=8033 >Signed-off-by: Mason James <mtj@kohaaloha.com> >--- > .../opac-tmpl/prog/en/modules/sco/sco-main.tt | 5 ++--- > 1 files changed, 2 insertions(+), 3 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 a06e2f2..cd29b0d 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(){ >+ $("#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"); > } >- $(this).parent().attr("action", "/cgi-bin/koha/sco/sco-main.pl?op=logout"); >- $(this).parent().submit(); >+ 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