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

(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js (-2 / +2 lines)
Lines 356-363 function placeHold () { Link Here
356
}
356
}
357
357
358
function forgetPatronAndClub(){
358
function forgetPatronAndClub(){
359
    Cookies.remove("holdfor", { path: '/' });
359
    Cookies.remove("holdfor", { path: '/', SameSite: 'Lax' });
360
    Cookies.remove("holdforclub", { path: '/' });
360
    Cookies.remove("holdforclub", { path: '/', SameSite: 'Lax' });
361
    $(".holdforlink").remove();
361
    $(".holdforlink").remove();
362
    $("#placeholdc").html("<a class=\"btn btn-default btn-xs placehold\" href=\"#\"><i class=\"fa fa-sticky-note-o\"></i> " + __("Place hold") + "</a>");
362
    $("#placeholdc").html("<a class=\"btn btn-default btn-xs placehold\" href=\"#\"><i class=\"fa fa-sticky-note-o\"></i> " + __("Place hold") + "</a>");
363
}
363
}
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-2 / +1 lines)
Lines 237-243 function checkEnter(e){ //e is event object passed from function invocation Link Here
237
}
237
}
238
238
239
function clearHoldFor(){
239
function clearHoldFor(){
240
    Cookies.remove("holdfor", { path: '/' });
240
    Cookies.remove("holdfor", { path: '/', SameSite: 'Lax' });
241
}
241
}
242
242
243
function logOut(){
243
function logOut(){
244
- 

Return to bug 33597