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 124-139 function tagAdded() { Link Here
124
          });
124
          });
125
[% END %][% END %][% END %]
125
[% END %][% END %][% END %]
126
    });
126
    });
127
[% IF ( opacuserlogin ) %][% IF ( RequestOnOpac ) %]
127
128
    function holdSel() {
129
        var items = document.getElementById('records').value;
130
        if (items) {
131
            document.location = "/cgi-bin/koha/opac-reserve.pl?biblionumbers=" + items;
132
        } else {
133
            alert(MSG_NO_RECORD_SELECTED);
134
        }
135
    }
136
[% END %][% END %]
137
function enableCheckboxActions(){
128
function enableCheckboxActions(){
138
    // Enable/disable controls if checkboxes are checked
129
    // Enable/disable controls if checkboxes are checked
139
    var checkedBoxes = $(".checkboxed input:checkbox:checked");
130
    var checkedBoxes = $(".checkboxed input:checkbox:checked");
140
- 

Return to bug 9115