Bugzilla – Attachment 130006 Details for
Bug 29957
Cookies not removed after logout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[STABLE] Bug 29957: Set path for bibs_selected
Bug-29957-Set-path-for-bibsselected.patch (text/plain), 1.05 KB, created by
Martin Renvoize (ashimema)
on 2022-01-31 14:08:48 UTC
(
hide
)
Description:
[STABLE] Bug 29957: Set path for bibs_selected
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-01-31 14:08:48 UTC
Size:
1.05 KB
patch
obsolete
>From fe5977064cde5bbd3a4f638f7a3c35b048b471f9 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 27 Jan 2022 12:40:45 +0100 >Subject: [PATCH] Bug 29957: Set path for bibs_selected > >Or it does not get cleared. Not that we may want to skip it for master >as bug 29932 is going to replace it with sessionStorage > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/js/staff-global.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >index c62a037e52..4f0eb8a15f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >@@ -320,7 +320,7 @@ function delBibToContext( bibnum ) { > } > > function setContextBiblioNumbers( bibnums ) { >- $.cookie('bibs_selected', JSON.stringify( bibnums )); >+ $.cookie('bibs_selected', JSON.stringify( bibnums ), { path: '/' }); > } > > function getContextBiblioNumbers() { >-- >2.20.1
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 29957
:
129871
|
129872
|
130005
|
130006
|
131428
|
131750
|
131751
|
131752
|
131807
|
131808
|
131809
|
131810
|
131824
|
131825
|
131826
|
131827
|
131828
|
131840
|
131841
|
131842
|
131843
|
131856
|
132045
|
132046
|
132047
|
132105
|
132106
|
132107
|
132108
|
132109
|
132110
|
132111
|
132115
|
132210
|
132211
|
132231
|
132232
|
132233
|
132234
|
132235
|
132236
|
132237
|
132238
|
132239
|
132288
|
132289
|
132290
|
132291
|
132292
|
132293
|
132294
|
132295
|
132296