CB-5722 [BlackBerry10] Update upload function to use native file object

This commit is contained in:
Bryan Higgins
2014-01-03 11:15:31 -05:00
parent 7986a60a1d
commit 398a9ecafb
+1 -1
View File
@@ -118,7 +118,7 @@ module.exports = {
var start = 0;
var end = bytesPerChunk;
while (start < file.size) {
var chunk = file.slice(start, end, mimeType);
var chunk = file.nativeFile.slice(start, end, mimeType);
uploadFile(chunk);
start = end;
end = start + bytesPerChunk;