mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +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
|
// Add drag-n-drop HTML5 support
|
||||||
$('#fileupload').fileupload({
|
$('#fileupload').fileupload({
|
||||||
autoUpload: true,
|
autoUpload: true,
|
||||||
@((settings.LimitConcurrentUploads != null && settings.LimitConcurrentUploads > 0) ? "limitConcurrentUploads:" + settings.LimitConcurrentUploads + "," : "")
|
@((settings.LimitConcurrentUploads > 0) ? "limitConcurrentUploads:" + settings.LimitConcurrentUploads + "," : "")
|
||||||
@if(Model.Replace == null) {
|
@if(Model.Replace == null) {
|
||||||
<text>
|
<text>
|
||||||
url: '@Url.Action("Upload")',
|
url: '@Url.Action("Upload")',
|
||||||
|
Loading…
Reference in New Issue
Block a user