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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt (-2 / +2 lines)
Lines 28-34 function barcode_check(){ Link Here
28
// alert(elembarcode+"\n"+eval(elembarcode+".value));
28
// alert(elembarcode+"\n"+eval(elembarcode+".value));
29
// alert(elemstatus+"\n"+eval(elemstatus+".value"));
29
// alert(elemstatus+"\n"+eval(elemstatus+".value"));
30
        if(eval(elembarcode+".value") =='' && eval(elemstatus+".value") == 2){
30
        if(eval(elembarcode+".value") =='' && eval(elemstatus+".value") == 2){
31
            var answer = confirm("Leave barcode blank?\n - Note: unable to change this later");
31
            var answer = confirm(_("Leave barcode blank?")+"\n"+_("Note: unable to change this later"));
32
            if (answer){
32
            if (answer){
33
                document.f.submit();
33
                document.f.submit();
34
            } else {
34
            } else {
Lines 36-42 function barcode_check(){ Link Here
36
            }
36
            }
37
        }
37
        }
38
        if(eval(elembarcode+".value".indexOf('TEMP')) > 0 && eval(elemstatus+".value") == 2){
38
        if(eval(elembarcode+".value".indexOf('TEMP')) > 0 && eval(elemstatus+".value") == 2){
39
            var answer = confirm("A barcode was not entered.\nDo you want to put in a barcode\nor do you want to use a system generated barcode?");
39
            var answer = confirm(_("A barcode was not entered.")+"\n"+_("Do you want to put in a barcode")+"\n"+_("or do you want to use a system generated barcode?"));
40
            if (answer){
40
            if (answer){
41
                document.f.submit();
41
                document.f.submit();
42
            } else {
42
            } else {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-recieve.tt (-3 / +2 lines)
Lines 19-25 function barcode_check(){ Link Here
19
// alert(elembarcode+"\n"+eval(elembarcode+".value));
19
// alert(elembarcode+"\n"+eval(elembarcode+".value));
20
// alert(elemstatus+"\n"+eval(elemstatus+".value"));
20
// alert(elemstatus+"\n"+eval(elemstatus+".value"));
21
		if(eval(elembarcode+".value") =='' && eval(elemstatus+".value") == 2){
21
		if(eval(elembarcode+".value") =='' && eval(elemstatus+".value") == 2){
22
			var answer = confirm("Leave barcode blank?\n - Note: unable to change this later");
22
            var answer = confirm(_("Leave barcode blank?")+"\n"+_("Note: unable to change this later"));
23
			if (answer){
23
			if (answer){
24
				document.f.submit();
24
				document.f.submit();
25
			} else {
25
			} else {
Lines 27-33 function barcode_check(){ Link Here
27
			}
27
			}
28
		}
28
		}
29
		if(eval(elembarcode+".value".indexOf('TEMP')) > 0 && eval(elemstatus+".value") == 2){
29
		if(eval(elembarcode+".value".indexOf('TEMP')) > 0 && eval(elemstatus+".value") == 2){
30
			var answer = confirm("A barcode was not entered.\nDo you want to put in a barcode\nor do you want to use a system generated barcode?");
30
            var answer = confirm(_("A barcode was not entered.")+"\n"+_("Do you want to put in a barcode")+"\n"+_("or do you want to use a system generated barcode?"));
31
			if (answer){
31
			if (answer){
32
				document.f.submit();
32
				document.f.submit();
33
			} else {
33
			} else {
34
- 

Return to bug 13423