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/11/28 00:49:40 UTC
ios commit: InAppBrowser - added class check for options arg.
Updated Branches:
refs/heads/master 6739488a4 -> 5013589f2
InAppBrowser - added class check for options arg.
Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/5013589f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/5013589f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/5013589f
Branch: refs/heads/master
Commit: 5013589f28e269caa8d122cce6cef811cf4a4b09
Parents: 6739488
Author: Shazron Abdullah <sh...@apache.org>
Authored: Tue Nov 27 15:49:34 2012 -0800
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Tue Nov 27 15:49:34 2012 -0800
----------------------------------------------------------------------
CordovaLib/Classes/CDVInAppBrowser.m | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/5013589f/CordovaLib/Classes/CDVInAppBrowser.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVInAppBrowser.m b/CordovaLib/Classes/CDVInAppBrowser.m
index 577c825..b04b142 100644
--- a/CordovaLib/Classes/CDVInAppBrowser.m
+++ b/CordovaLib/Classes/CDVInAppBrowser.m
@@ -56,7 +56,7 @@
NSString* url = [command argumentAtIndex:0];
NSString* target = [command argumentAtIndex:1 withDefault:kInAppBrowserTargetSelf];
- NSString* options = [command argumentAtIndex:2 withDefault:@""];
+ NSString* options = [command argumentAtIndex:2 withDefault:@"" andClass:[NSString class]];
if (url != nil) {
NSURL* baseUrl = [self.webView.request URL];