Merge branch '1.10.x' into issue/8684

This commit is contained in:
Benedek Farkas 2023-05-25 19:30:22 +02:00
commit 49fe610e33

View File

@ -85,7 +85,7 @@
// Add drag-n-drop HTML5 support
$('#fileupload').fileupload({
autoUpload: true,
@((settings.LimitConcurrentUploads != null && settings.LimitConcurrentUploads > 0) ? "limitConcurrentUploads:" + settings.LimitConcurrentUploads + "," : "")
@((settings.LimitConcurrentUploads > 0) ? "limitConcurrentUploads:" + settings.LimitConcurrentUploads + "," : "")
@if(Model.Replace == null) {
<text>
url: '@Url.Action("Upload")',