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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc (-1 / +1 lines)
Lines 64-70 Link Here
64
            <span class="loggedinusername">
64
            <span class="loggedinusername">
65
                <!-- TMPL_VAR NAME="loggedinusername" -->
65
                <!-- TMPL_VAR NAME="loggedinusername" -->
66
            </span>
66
            </span>
67
            (<a href="/cgi-bin/koha/mainpage.pl?logout.x=1"<!-- TMPL_IF NAME="intranetbookbag" --> onclick="javascript:delBasket(true);"<!-- /TMPL_IF -->>Log Out</a>) |
67
            (<a href="/cgi-bin/koha/mainpage.pl?logout.x=1"<!-- TMPL_IF NAME="intranetbookbag" --> onclick="delBasket(true);"<!-- /TMPL_IF -->>Log Out</a>) |
68
        <!-- TMPL_ELSE -->
68
        <!-- TMPL_ELSE -->
69
            You are not logged in |
69
            You are not logged in |
70
        <!-- /TMPL_IF -->
70
        <!-- /TMPL_IF -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/js/basket.js (-5 / +4 lines)
Lines 299-308 function delRecord (n, s) { Link Here
299
}
299
}
300
300
301
301
302
function delBasket() {
302
function delBasket(rep) {
303
303
    if (rep == undefined){
304
    var rep = false;
304
        rep = confirm(MSG_CONFIRM_DEL_BASKET);
305
    rep = confirm(MSG_CONFIRM_DEL_BASKET);
305
    }
306
    if (rep) {
306
    if (rep) {
307
        delCookie(nameCookie);
307
        delCookie(nameCookie);
308
        document.location = "about:blank";
308
        document.location = "about:blank";
309
- 

Return to bug 5733