Titans (Oscar Screening Camp) Date Code Change
Specific Folder FTP Upload / ftp-deploy (push) Successful in 35s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 35s
Details
This commit is contained in:
parent
44429a0b15
commit
365eb69d73
|
|
@ -220,9 +220,7 @@
|
|||
console.log(hierarchy)
|
||||
})
|
||||
|
||||
$('#field-contact_id').change(function() {
|
||||
$('#field-speciality').val($('option:selected', this).attr('speciality'))
|
||||
})
|
||||
|
||||
|
||||
$('#field-contact_id').change(function() {
|
||||
$('#field-msl_code').val($('option:selected', this).attr('msl_code'))
|
||||
|
|
@ -232,9 +230,7 @@
|
|||
$('#field-contact_id').trigger('change');
|
||||
});
|
||||
|
||||
$('#field-city,#field-state,#field-departmental_head_name').on('input', function () {
|
||||
this.value = this.value.replace(/[^a-zA-Z\s]/g, '');
|
||||
});
|
||||
|
||||
|
||||
|
||||
$('#report-form').on('submit', function(event){
|
||||
|
|
@ -273,15 +269,11 @@
|
|||
});
|
||||
});
|
||||
|
||||
var today = new Date();
|
||||
var dd = String(today.getDate()).padStart(2, '0');
|
||||
var mm = String(today.getMonth() + 1).padStart(2, '0');
|
||||
var yyyy = today.getFullYear();
|
||||
today = yyyy + '-' + mm + '-' + dd;
|
||||
|
||||
var plandateField = document.getElementById('field-record_date');
|
||||
|
||||
var plandateField = document.getElementById('field-record_date');
|
||||
if (plandateField) {
|
||||
var today = new Date().toISOString().split('T')[0];
|
||||
plandateField.setAttribute('max', today);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Reference in New Issue