Anc ODS : check date is valid and comment not empty, remove debug

This commit is contained in:
Dany De Bontridder 2017-11-01 12:03:08 +01:00
parent d774be930b
commit fd623d9ce4

View file

@ -158,7 +158,6 @@ if ( isset($_GET['new']))
echo <<<EOF
<script>
function validate_anc(p_frm_id) {
console.debug($(p_frm_id)['pdate'].value );
try {
if ($('pdesc').value.length==0) {
smoke.alert('$msg_comment');
@ -171,7 +170,7 @@ echo <<<EOF
} catch (e) {
smoke.alert(e.message);
}
return true;
return ;
}
</script>;