fix bug due to the code formating
This commit is contained in:
parent
ed4c612964
commit
0929699a78
1 changed files with 1 additions and 2 deletions
|
|
@ -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 ")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue