|
|
@ -735,7 +735,7 @@ $(document).ready(function () { |
|
|
|
headers: {"X-Csrf-Token": csrf}, |
|
|
|
headers: {"X-Csrf-Token": csrf}, |
|
|
|
maxFiles: $dropz.data('max-file'), |
|
|
|
maxFiles: $dropz.data('max-file'), |
|
|
|
maxFilesize: $dropz.data('max-size'), |
|
|
|
maxFilesize: $dropz.data('max-size'), |
|
|
|
acceptedFiles: $dropz.data('accepts'), |
|
|
|
acceptedFiles: ($dropz.data('accepts') === '*/*') ? null : $dropz.data('accepts'), |
|
|
|
addRemoveLinks: true, |
|
|
|
addRemoveLinks: true, |
|
|
|
dictDefaultMessage: $dropz.data('default-message'), |
|
|
|
dictDefaultMessage: $dropz.data('default-message'), |
|
|
|
dictInvalidFileType: $dropz.data('invalid-input-type'), |
|
|
|
dictInvalidFileType: $dropz.data('invalid-input-type'), |
|
|
|