View | Details | Raw Unified | Return to bug 33597
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/basket.js (-3 / +2 lines)
Lines 62-70 function delCookie(name) { Link Here
62
    var exp = new Date();
62
    var exp = new Date();
63
    exp.setTime(exp.getTime()-1);
63
    exp.setTime(exp.getTime()-1);
64
    if(parent.opener){
64
    if(parent.opener){
65
        parent.opener.document.cookie = name + "=null; path=/; expires=" + exp.toGMTString();
65
        parent.opener.document.cookie = name + "=null; SameSite=Lax; path=/; expires=" + exp.toGMTString();
66
    } else {
66
    } else {
67
        document.cookie = name + "=null; path=/; expires=" + exp.toGMTString();
67
        document.cookie = name + "=null; SameSite=Lax; path=/; expires=" + exp.toGMTString();
68
    }
68
    }
69
}
69
}
70
70
71
- 

Return to bug 33597