mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
Fixes html5 file upload during workflow (if allowed by configuration).
This commit is contained in:
@@ -423,7 +423,16 @@
|
||||
testChunks: true,
|
||||
throttleProgressCallbacks:1,
|
||||
method: "multipart",
|
||||
<%
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user