mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 23:43:06 +00:00
Fixes html5 file upload during workflow (if allowed by configuration).
This commit is contained in:
@@ -423,7 +423,16 @@
|
|||||||
testChunks: true,
|
testChunks: true,
|
||||||
throttleProgressCallbacks:1,
|
throttleProgressCallbacks:1,
|
||||||
method: "multipart",
|
method: "multipart",
|
||||||
query:{workspace_item_id:'<%= subInfo.getSubmissionItem().getID()%>'}
|
<%
|
||||||
|
if (subInfo.isInWorkflow())
|
||||||
|
{
|
||||||
|
%>
|
||||||
|
query:{workflow_id:'<%= subInfo.getSubmissionItem().getID()%>'}
|
||||||
|
<%
|
||||||
|
} else {
|
||||||
|
%>
|
||||||
|
query:{workspace_item_id:'<%= subInfo.getSubmissionItem().getID()%>'}
|
||||||
|
<%}%>
|
||||||
});
|
});
|
||||||
// Resumable.js isn't supported, fall back on a different method
|
// Resumable.js isn't supported, fall back on a different method
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user