You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/05/09 00:12:25 UTC
ios commit: Noticed typo in File.getMetadata - error callback had OK
instead of ERROR status
Updated Branches:
refs/heads/master c6dc03acf -> 85f8ef73f
Noticed typo in File.getMetadata - error callback had OK instead of ERROR status
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/85f8ef73
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/85f8ef73
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/85f8ef73
Branch: refs/heads/master
Commit: 85f8ef73f965a07c6cf5b18f98b2bf02671fb38f
Parents: c6dc03a
Author: Shazron Abdullah <sh...@apache.org>
Authored: Tue May 8 15:12:19 2012 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Tue May 8 15:12:19 2012 -0700
----------------------------------------------------------------------
CordovaLib/Classes/CDVFile.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/85f8ef73/CordovaLib/Classes/CDVFile.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVFile.m b/CordovaLib/Classes/CDVFile.m
index 08e184d..3ffb875 100644
--- a/CordovaLib/Classes/CDVFile.m
+++ b/CordovaLib/Classes/CDVFile.m
@@ -507,7 +507,7 @@
errorCode = NOT_FOUND_ERR;
}
// log [NSNumber numberWithDouble: theMessage] objCtype to see what it returns
- result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsInt: errorCode];
+ result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsInt: errorCode];
jsString = [result toErrorCallbackString:callbackId];
}
if (jsString){