diff --git a/www/blackberry10/xhrFileTransfer.js b/www/blackberry10/xhrFileTransfer.js index 4c6d590..87c8ec0 100644 --- a/www/blackberry10/xhrFileTransfer.js +++ b/www/blackberry10/xhrFileTransfer.js @@ -55,7 +55,7 @@ module.exports = { upload: function(win, fail, args) { var filePath = args[0], server = args[1], - fileKey = args[9], + fileKey = args[2], fileName = args[3], mimeType = args[4], params = args[5], diff --git a/www/firefoxos/FileTransferProxy.js b/www/firefoxos/FileTransferProxy.js index 305ac58..164da1a 100644 --- a/www/firefoxos/FileTransferProxy.js +++ b/www/firefoxos/FileTransferProxy.js @@ -49,7 +49,7 @@ module.exports = { upload: function(successCallback, errorCallback, args) { var filePath = args[0], server = args[1], - fileKey = args[9], + fileKey = args[2], fileName = args[3], mimeType = args[4], params = args[5],