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 381-386 function showLess() { Link Here
381
    document.location = loc;
381
    document.location = loc;
382
}
382
}
383
383
384
function holdSel() {
385
    var items = document.getElementById('records').value;
386
    if (items) {
387
        parent.opener.document.location = "/cgi-bin/koha/opac-reserve.pl?biblionumbers=" + items;
388
        window.close();
389
    } else {
390
        alert(MSG_NO_RECORD_SELECTED);
391
    }
392
}
393
384
function updateBasket(updated_value,target) {
394
function updateBasket(updated_value,target) {
385
	if(target){
395
	if(target){
386
	target.$('#basketcount').html("<span>"+updated_value+"</span>");
396
	target.$('#basketcount').html("<span>"+updated_value+"</span>");
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt (-11 lines)
Lines 100-115 function tagAdded() { Link Here
100
          });
100
          });
101
[% END %][% END %][% END %]
101
[% END %][% END %][% END %]
102
	});
102
	});
103
[% IF ( opacuserlogin ) %][% IF ( RequestOnOpac ) %]
104
    function holdSel() {
105
        var items = document.getElementById('records').value;
106
        if (items) {
107
            document.location = "/cgi-bin/koha/opac-reserve.pl?biblionumbers=" + items;
108
        } else {
109
            alert(MSG_NO_RECORD_SELECTED);
110
        }
111
    }
112
[% END %][% END %]
113
	//]]>
103
	//]]>
114
	</script>
104
	</script>
115
	[% END %]
105
	[% END %]
116
- 

Return to bug 9115