Fixing JavaScript comparrison issues

This commit is contained in:
macdonst
2011-09-30 14:26:48 -04:00
parent 80695ec5e4
commit 24ad506da5
2 changed files with 14 additions and 12 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ FileTransfer.prototype.upload = function(filePath, server, successCallback, erro
fileKey = options.fileKey;
fileName = options.fileName;
mimeType = options.mimeType;
if (options.chunkedMode) {
if (options.chunkedMode != null || typeof options.chunkedMode != "undefined") {
chunkedMode = options.chunkedMode;
}
if (options.params) {