diff --git a/app/views/admin/partials/images_dialog.php b/app/views/admin/partials/images_dialog.php index 32e0e2a..1d546a3 100755 --- a/app/views/admin/partials/images_dialog.php +++ b/app/views/admin/partials/images_dialog.php @@ -25,6 +25,7 @@ type="file" class="hidden" name="file" + accept="image/*" oninput="let path = ; Form.send(`/admin/media/upload?path=${path}`, 'image-dialog-file-form', get('#image-dialog-file-button')).then(() => ImageDialog.setImagePage(path));" />