Updated Arise blade file
Specific Folder FTP Upload / ftp-deploy (push) Successful in 37s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 37s
Details
This commit is contained in:
parent
23dbb2c803
commit
f87ee23ca1
|
|
@ -329,17 +329,15 @@
|
||||||
// reset category dropdown
|
// reset category dropdown
|
||||||
$('#field-select-category').val('');
|
$('#field-select-category').val('');
|
||||||
|
|
||||||
// clear doctor dropdown
|
// reset doctor dropdown
|
||||||
$('#field-contact_id').html('');
|
$('#field-contact_id').html('');
|
||||||
|
|
||||||
// add default option again
|
|
||||||
$('#field-contact_id').append(
|
$('#field-contact_id').append(
|
||||||
$("<option></option>")
|
$("<option></option>")
|
||||||
.attr("value",'')
|
.attr("value",'')
|
||||||
.text('-- Select --')
|
.text('-- Select --')
|
||||||
);
|
);
|
||||||
|
|
||||||
// stop execution
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
filteredDoctors.forEach(function(itm){
|
filteredDoctors.forEach(function(itm){
|
||||||
|
|
@ -450,14 +448,11 @@ $('#field-converted').on('change', function () {
|
||||||
.replace(/\s+/g, '_')
|
.replace(/\s+/g, '_')
|
||||||
.replace(/-+/g, '_');
|
.replace(/-+/g, '_');
|
||||||
|
|
||||||
|
if (value === 'Yes') {
|
||||||
$('#report-form').append(
|
$('#report-form').append(
|
||||||
'<input type="hidden" class="converted-hidden" name="' + slug + '" value="1">'
|
'<input type="hidden" class="converted-hidden" name="' + slug + '" value="1">'
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function toggleUploadFields() {
|
function toggleUploadFields() {
|
||||||
|
|
@ -552,8 +547,14 @@ $(document).on('change', '#field-converted', function () {
|
||||||
alert('Only JPG and PDF files are allowed.');
|
alert('Only JPG and PDF files are allowed.');
|
||||||
$(this).val('');
|
$(this).val('');
|
||||||
}
|
}
|
||||||
});
|
|
||||||
|
|
||||||
|
});
|
||||||
|
@if($id)
|
||||||
|
setTimeout(function () {
|
||||||
|
console.log("EDIT MODE TRIGGERED");
|
||||||
|
$('#field-select-category').trigger('change');
|
||||||
|
}, 300);
|
||||||
|
@endif
|
||||||
$('#report-form').on('submit', function(event){
|
$('#report-form').on('submit', function(event){
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
$("#pageloader").fadeIn();
|
$("#pageloader").fadeIn();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue