Bugzilla – Attachment 69407 Details for
Bug 19702
Basket not displaying correctly on home page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19702 - Correct cookie path in Basket.js
Bug-19702---Correct-cookie-path-in-Basketjs.patch (text/plain), 1.12 KB, created by
Dilan Johnpullé
on 2017-11-28 00:28:16 UTC
(
hide
)
Description:
Bug 19702 - Correct cookie path in Basket.js
Filename:
MIME Type:
Creator:
Dilan Johnpullé
Created:
2017-11-28 00:28:16 UTC
Size:
1.12 KB
patch
obsolete
>From fd092ff1238155143aa04b48427a759682591774 Mon Sep 17 00:00:00 2001 >From: David Bourgault <david.bourgault@inlibro.com> >Date: Mon, 27 Nov 2017 16:05:48 -0500 >Subject: [PATCH] Bug 19702 - Correct cookie path in Basket.js >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Patch applies without issue and functions as descibed. >Signed-off-by: Dilan Johnpullé <dilan@calyx.net.au> >--- > koha-tmpl/opac-tmpl/bootstrap/js/basket.js | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/basket.js b/koha-tmpl/opac-tmpl/bootstrap/js/basket.js >index a422753..ac5b1cd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/js/basket.js >+++ b/koha-tmpl/opac-tmpl/bootstrap/js/basket.js >@@ -19,10 +19,10 @@ function basketCount(){ > > function writeCookie(name, val, wd) { > if (wd) { >- parent.opener.document.cookie = name + "=" + val; >+ parent.opener.document.cookie = name + "=" + val + ";path=/"; > } > else { >- parent.document.cookie = name + "=" + val; >+ parent.document.cookie = name + "=" + val + ";path=/"; > } > } > >-- >2.1.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 19702
:
69402
|
69407
|
70083