[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/bull subscr... [rel_2_2]

Robert Lyon bob at katipo.co.nz
Sun Nov 26 23:56:23 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Robert Lyon <bob_lyon>	06/11/26 22:56:23

Modified files:
	koha-tmpl/intranet-tmpl/npl/en/bull: subscription-add.tmpl 

Log message:
	Allowing for more valid keys to be used in issues amount field

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/bull/subscription-add.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.2.2.6&r2=1.2.2.7

Patches:
Index: subscription-add.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/bull/Attic/subscription-add.tmpl,v
retrieving revision 1.2.2.6
retrieving revision 1.2.2.7
diff -u -b -r1.2.2.6 -r1.2.2.7
--- subscription-add.tmpl	24 Nov 2006 00:23:22 -0000	1.2.2.6
+++ subscription-add.tmpl	26 Nov 2006 22:56:23 -0000	1.2.2.7
@@ -685,9 +685,9 @@
 
 function check_input(e){
 	var unicode=e.charCode? e.charCode : e.keyCode
-	if (unicode!=8 && unicode !=46){ // if key isn't backspace or delete
+	if (unicode!=8 && unicode !=46 &&unicode!=9 && unicode !=13){ // if key isn't backspace or delete or tab or enter
 		if (unicode<48||unicode>57) { // if not a number
-			alert("Needs to be entered in digit form -eg 10");
+			alert("Needs to be entered in digit form - eg 10");
 			return false // disable key press
 		}
 	}





More information about the Koha-cvs mailing list