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 2014/07/10 21:52:02 UTC
ios commit: CB-6165 - Removing the "OK" String from success callback
Repository: cordova-ios
Updated Branches:
refs/heads/master 6ab232605 -> 80a743670
CB-6165 - Removing the "OK" String from success callback
Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/80a74367
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/80a74367
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/80a74367
Branch: refs/heads/master
Commit: 80a743670269eb8b9898cb1b090ff8f2d9164b15
Parents: 6ab2326
Author: Shazron Abdullah <sh...@apache.org>
Authored: Thu Jul 10 12:51:55 2014 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Thu Jul 10 12:51:55 2014 -0700
----------------------------------------------------------------------
CordovaLib/Classes/CDVPluginResult.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/80a74367/CordovaLib/Classes/CDVPluginResult.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVPluginResult.m b/CordovaLib/Classes/CDVPluginResult.m
index af7c528..2eb46cd 100644
--- a/CordovaLib/Classes/CDVPluginResult.m
+++ b/CordovaLib/Classes/CDVPluginResult.m
@@ -96,7 +96,7 @@ id messageFromMultipart(NSArray* theMessages)
+ (CDVPluginResult*)resultWithStatus:(CDVCommandStatus)statusOrdinal
{
- return [[self alloc] initWithStatus:statusOrdinal message:[org_apache_cordova_CommandStatusMsgs objectAtIndex:statusOrdinal]];
+ return [[self alloc] initWithStatus:statusOrdinal message:nil];
}
+ (CDVPluginResult*)resultWithStatus:(CDVCommandStatus)statusOrdinal messageAsString:(NSString*)theMessage