FIX_ISSUE
This commit is contained in:
parent
89e20f23aa
commit
a44a692667
@ -1188,7 +1188,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<form class="ajax" onsubmit="submitAttachmentForm(event, this)">
|
<form class="ajax" onsubmit="submitAttachmentForm(event, this)">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-group col-3">
|
<div class="form-group col-5">
|
||||||
<input type="file" class="file-input__input" name="file">
|
<input type="file" class="file-input__input" name="file">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-2">
|
<div class="form-group col-2">
|
||||||
@ -1227,7 +1227,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<form class="ajax" onsubmit="submitAttachmentForm(event, this)">
|
<form class="ajax" onsubmit="submitAttachmentForm(event, this)">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-group col-3">
|
<div class="form-group col-5">
|
||||||
<input type="file" class="file-input__input" name="file">
|
<input type="file" class="file-input__input" name="file">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-2">
|
<div class="form-group col-2">
|
||||||
@ -1251,7 +1251,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<form class="ajax" onsubmit="submitAttachmentForm(event, this)">
|
<form class="ajax" onsubmit="submitAttachmentForm(event, this)">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-group col-3">
|
<div class="form-group col-5">
|
||||||
<input type="file" class="file-input__input" name="file">
|
<input type="file" class="file-input__input" name="file">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group col-2">
|
<div class="form-group col-2">
|
||||||
@ -1295,7 +1295,7 @@
|
|||||||
|
|
||||||
// Check if a file is selected
|
// Check if a file is selected
|
||||||
if (!fileInput.files.length) {
|
if (!fileInput.files.length) {
|
||||||
toastr.warning("Please select a file to upload.");
|
toastr.warning("Please select a file to upload.", "Validation Error");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user