Bugzilla – Attachment 30444 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]
[Signed-off] Bug 12690 - opacuserjs gets loaded twice in self checkout
Signed-off-Bug-12690---opacuserjs-gets-loaded-twic.patch (text/plain), 1.51 KB, created by
Marc Véron
on 2014-08-01 08:10:00 UTC
(
hide
)
Description:
[Signed-off] Bug 12690 - opacuserjs gets loaded twice in self checkout
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2014-08-01 08:10:00 UTC
Size:
1.51 KB
patch
obsolete
>From 41c6e75cc144079aa8a71066b988b7b247f02778 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] [Signed-off] Bug 12690 - opacuserjs gets loaded twice in > self checkout >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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. > >Followed test plan, patch behaves as expected. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 1 - > 1 file changed, 1 deletion(-) > >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.10.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