Skip to content

Commit

Permalink
[js:core] fix Studio-42#1391 take care 32bit system of chunked file u…
Browse files Browse the repository at this point in the history
…ploading arg `cid`
  • Loading branch information
nao-pon committed May 15, 2016
1 parent 65fc417 commit 80b2a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/elFinder.js
Original file line number Diff line number Diff line change
Expand Up @@ -3507,7 +3507,7 @@ elFinder.prototype = {
maxFileSize,
totalSize = 0,
chunked = [],
chunkID = new Date().getTime(),
chunkID = new Date().getTime().toString().substr(-9), // for take care of the 32bit backend system
BYTES_PER_CHUNK = Math.min((fm.uplMaxSize? fm.uplMaxSize : 2097152) - 8190, fm.options.uploadMaxChunkSize), // uplMaxSize margin 8kb or options.uploadMaxChunkSize
blobSlice = chunkEnable? false : '',
blobSize, i, start, end, chunks, blob, chunk, added, done, last, failChunk,
Expand Down

0 comments on commit 80b2a01

Please sign in to comment.