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

(-)a/koha-tmpl/opac-tmpl/prog/en/js/basket.js (+10 lines)
Lines 397-402 function showLess() { Link Here
397
    document.location = loc;
397
    document.location = loc;
398
}
398
}
399
399
400
function holdSel() {
401
    var items = document.getElementById('records').value;
402
    if (items) {
403
        parent.opener.document.location = "/cgi-bin/koha/opac-reserve.pl?biblionumbers=" + items;
404
        window.close();
405
    } else {
406
        alert(MSG_NO_RECORD_SELECTED);
407
    }
408
}
409
400
function updateBasket(updated_value,target) {
410
function updateBasket(updated_value,target) {
401
	if(target){
411
	if(target){
402
	target.$('#basketcount').html("<span>"+updated_value+"</span>");
412
	target.$('#basketcount').html("<span>"+updated_value+"</span>");
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt (-11 / +1 lines)
Lines 119-134 function tagAdded() { Link Here
119
        });
119
        });
120
120
121
    });
121
    });
122
[% IF ( opacuserlogin ) %][% IF ( RequestOnOpac ) %]
122
123
    function holdSel() {
124
        var items = document.getElementById('records').value;
125
        if (items) {
126
            document.location = "/cgi-bin/koha/opac-reserve.pl?biblionumbers=" + items;
127
        } else {
128
            alert(MSG_NO_RECORD_SELECTED);
129
        }
130
    }
131
[% END %][% END %]
132
function enableCheckboxActions(){
123
function enableCheckboxActions(){
133
    // Enable/disable controls if checkboxes are checked
124
    // Enable/disable controls if checkboxes are checked
134
    var checkedBoxes = $(".checkboxed input:checkbox:checked");
125
    var checkedBoxes = $(".checkboxed input:checkbox:checked");
135
- 

Return to bug 9115