@@ -, +, @@ --------- -- either way window closes and it looks empty. -- cart comes back. -- in chromium inspecting the page, specifically the "Application" area, bib_list is shown as a cookie still. -- this time cart stays empty. -- and the bib_list cookie is gone --- koha-tmpl/opac-tmpl/bootstrap/js/basket.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/js/basket.js +++ a/koha-tmpl/opac-tmpl/bootstrap/js/basket.js @@ -57,9 +57,9 @@ function delCookie(name) { var exp = new Date(); exp.setTime(exp.getTime()-1); if(parent.opener){ - parent.opener.document.cookie = name + "=null; expires=" + exp.toGMTString(); + parent.opener.document.cookie = name + "=null; path=/; expires=" + exp.toGMTString(); } else { - document.cookie = name + "=null; expires=" + exp.toGMTString(); + document.cookie = name + "=null; path=/; expires=" + exp.toGMTString(); } } --