fix bug due to the code formating

This commit is contained in:
Dany De Bontridder 2010-09-25 14:36:01 +00:00
parent ed4c612964
commit 0929699a78

View file

@ -76,8 +76,7 @@ function check_hour(p_ctl)
try
{
var h=document.getElementById(p_ctl);
var re = /^\d{1,2}:
\d{2}$/;
var re = /^\d{1,2}:\d{2}$/;
if ( trim(h.value) !='' && ! h.value.match(re))
alert("Format de l'heure est HH:MM ")
}