Skip to content

Commit

Permalink
customizable upload parameter name #297
Browse files Browse the repository at this point in the history
  • Loading branch information
psolom committed Mar 10, 2018
1 parent 39b80b2 commit c4817c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/filemanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -4649,7 +4649,7 @@ $.richFilemanagerPlugin = function(element, pluginOptions)
dropZone: $dropzone,
maxChunkSize: config.upload.chunkSize,
url: buildConnectorUrl(),
paramName: 'files',
paramName: config.upload.paramName,
singleFileUploads: true,
formData: extendRequestParams('POST', {
mode: 'upload',
Expand Down Expand Up @@ -4840,7 +4840,7 @@ $.richFilemanagerPlugin = function(element, pluginOptions)
autoUpload: true,
dataType: 'json',
url: buildConnectorUrl(),
paramName: 'files',
paramName: config.upload.paramName,
maxChunkSize: config.upload.chunkSize
})

Expand Down
2 changes: 1 addition & 1 deletion scripts/filemanager.min.js

Large diffs are not rendered by default.

0 comments on commit c4817c2

Please sign in to comment.