mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 17:08:47 +08:00
Fixing warning in Orchard.MediaLibrary/Views/ClientStorage/Index.cshtml (LimitConcurrentUploads is a non-nullable int)
This commit is contained in:
parent
05e3c196aa
commit
610b3c4f53
@ -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")',
|
||||
|
Loading…
Reference in New Issue
Block a user