Bugzilla – Attachment 30441 Details for
Bug 12690
opacuserjs gets loaded twice in self checkout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12690 - opacuserjs gets loaded twice in self checkout
Bug-12690---opacuserjs-gets-loaded-twice-in-self-c.patch (text/plain), 1.33 KB, created by
David Cook
on 2014-08-01 06:55:13 UTC
(
hide
)
Description:
Bug 12690 - opacuserjs gets loaded twice in self checkout
Filename:
MIME Type:
Creator:
David Cook
Created:
2014-08-01 06:55:13 UTC
Size:
1.33 KB
patch
obsolete
>From 48aaac7cc77b4dc4948bd08acf6822eefe83959a Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Fri, 1 Aug 2014 16:42:34 +1000 >Subject: [PATCH] Bug 12690 - opacuserjs gets loaded twice in self checkout > >This patch removes a second instance of "opacuserjs" in the opac >self-checkout. > >_TEST PLAN_ > >1) Enable OPAC Self-checkout in the system preferences >2) Type the following code into your "opacuserjs" system preference: > >alert("This is a test"); > >2) Visit /cgi-bin/koha/sco/sco-main.pl >3) Note that you get a pop-up saying "This is a test" twice. > >4) Apply the patch > >5) Refresh /cgi-bin/koha/sco/sco-main.pl >6) Note that you now only get a pop-up saying "This is a test" once. >--- > .../opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >index 518fcee..e4c40aa 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >@@ -369,6 +369,5 @@ > //]]> > </script> > >- [% IF ( opacuserjs ) %]<script type="text/javascript">[% opacuserjs %]</script>[% END %] > [% IF ( SCOUserJS ) %]<script type="text/javascript">[% SCOUserJS %]</script>[% END %] > [% END %] >-- >1.7.7.4
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 12690
:
30441
|
30444
|
30501