You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2015/02/06 12:54:34 UTC

cordova-plugin-file-transfer git commit: Fixes typo, introduced in https://github.com/apache/cordova-plugin-file-transfer/commit/bc43b46

Repository: cordova-plugin-file-transfer
Updated Branches:
  refs/heads/master 7a9362681 -> 33876409d


Fixes typo, introduced in https://github.com/apache/cordova-plugin-file-transfer/commit/bc43b46


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/33876409
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/33876409
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/33876409

Branch: refs/heads/master
Commit: 33876409dd79362b5a817dae3136afbecea90735
Parents: 7a93626
Author: Vladimir Kotikov <v-...@microsoft.com>
Authored: Fri Feb 6 14:53:57 2015 +0300
Committer: Vladimir Kotikov <v-...@microsoft.com>
Committed: Fri Feb 6 14:53:57 2015 +0300

----------------------------------------------------------------------
 src/windows/FileTransferProxy.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/33876409/src/windows/FileTransferProxy.js
----------------------------------------------------------------------
diff --git a/src/windows/FileTransferProxy.js b/src/windows/FileTransferProxy.js
index df5dd0a..3d299ef 100644
--- a/src/windows/FileTransferProxy.js
+++ b/src/windows/FileTransferProxy.js
@@ -281,7 +281,7 @@ exec(win, fail, 'FileTransfer', 'upload',
                 // if download isn't cancelled, contunue with creating and preparing download operation
                 var downloader = new Windows.Networking.BackgroundTransfer.BackgroundDownloader();
                 for (var header in headers) {
-                    if (header.hasOwnProperty(header)) {
+                    if (headers.hasOwnProperty(header)) {
                         downloader.setRequestHeader(header, headers[header]);
                     }
                 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org