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

(-)a/koha-tmpl/opac-tmpl/bootstrap/js/basket.js (-3 / +2 lines)
Lines 57-65 function delCookie(name) { Link Here
57
    var exp = new Date();
57
    var exp = new Date();
58
    exp.setTime(exp.getTime()-1);
58
    exp.setTime(exp.getTime()-1);
59
    if(parent.opener){
59
    if(parent.opener){
60
        parent.opener.document.cookie = name + "=null; expires=" + exp.toGMTString();
60
        parent.opener.document.cookie = name + "=null; path=/; expires=" + exp.toGMTString();
61
    } else {
61
    } else {
62
        document.cookie = name + "=null; expires=" + exp.toGMTString();
62
        document.cookie = name + "=null; path=/; expires=" + exp.toGMTString();
63
    }
63
    }
64
}
64
}
65
65
66
- 

Return to bug 20122