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

(-)a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js (-1 / +1 lines)
Lines 68-74 function checkEnter(e){ //e is event object passed from function invocation Link Here
68
}
68
}
69
69
70
function clearHoldFor(){
70
function clearHoldFor(){
71
	$.cookie("holdfor",null, { path: "/", expires: 0 });
71
    $.removeCookie("holdfor", { path: '/' });
72
}
72
}
73
73
74
function logOut(){
74
function logOut(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-1 / +1 lines)
Lines 204-210 function placeHold () { Link Here
204
}
204
}
205
205
206
function forgetPatron(){
206
function forgetPatron(){
207
    $.cookie("holdfor",null, { path: "/", expires: 0 });
207
    $.removeCookie("holdfor", { path: '/' });
208
    $(".holdforlink").remove();
208
    $(".holdforlink").remove();
209
    $("#placeholdc").html("<a class=\"btn btn-mini placehold\" href=\"#\"><i class=\"icon-hold\"></i> "+_("Place hold")+"</a>");
209
    $("#placeholdc").html("<a class=\"btn btn-mini placehold\" href=\"#\"><i class=\"icon-hold\"></i> "+_("Place hold")+"</a>");
210
}
210
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-2 / +8 lines)
Lines 48-54 var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export"); Link Here
48
48
49
columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'issues-table', 'json' ) %]
49
columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'issues-table', 'json' ) %]
50
50
51
[% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %]
51
[% IF ( borrowernumber ) %]
52
    if($.cookie("holdfor") != [% borrowernumber %]){
53
        $.removeCookie("holdfor", { path: '/' });
54
    }
55
[% ELSE %]
56
    $.removeCookie("holdfor", { path: '/' });
57
[% END %]
58
52
[% UNLESS ( borrowernumber ) %][% UNLESS ( borrowers ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
59
[% UNLESS ( borrowernumber ) %][% UNLESS ( borrowers ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %]
53
60
54
// On-site checkout
61
// On-site checkout
55
- 

Return to bug 12320