Lines 4-10
Link Here
|
4 |
function uncheckbox(form, field) { |
4 |
function uncheckbox(form, field) { |
5 |
var price = new Number(form.elements['price' + field].value); |
5 |
var price = new Number(form.elements['price' + field].value); |
6 |
var tmpprice = ""; |
6 |
var tmpprice = ""; |
7 |
var errmsg = "ERROR: Price is not a valid number, please check the price and try again!" |
7 |
var errmsg = _("ERROR: Price is not a valid number, please check the price and try again!") |
8 |
if (isNaN(price)) { |
8 |
if (isNaN(price)) { |
9 |
alert(errmsg); |
9 |
alert(errmsg); |
10 |
for(var i=0; i<form.elements['price' + field].value.length; ++i) { |
10 |
for(var i=0; i<form.elements['price' + field].value.length; ++i) { |
Lines 384-390
function closeandprint(bg){
Link Here
|
384 |
if(document.location = '/cgi-bin/koha/acqui/basketgroup.pl?op=closeandprint&basketgroupid=' + bg ){ |
384 |
if(document.location = '/cgi-bin/koha/acqui/basketgroup.pl?op=closeandprint&basketgroupid=' + bg ){ |
385 |
setTimeout("window.location.reload();",3000); |
385 |
setTimeout("window.location.reload();",3000); |
386 |
}else{ |
386 |
}else{ |
387 |
alert('Error downloading the file'); |
387 |
alert(_('Error downloading the file')); |
388 |
} |
388 |
} |
389 |
} |
389 |
} |
390 |
|
390 |
|
391 |
- |
|
|