Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 187B7E1B8 for ; Tue, 27 Nov 2012 23:49:41 +0000 (UTC) Received: (qmail 59758 invoked by uid 500); 27 Nov 2012 23:49:41 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 59742 invoked by uid 500); 27 Nov 2012 23:49:41 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 59732 invoked by uid 99); 27 Nov 2012 23:49:41 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2012 23:49:41 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id C4E4E812B57; Tue, 27 Nov 2012 23:49:40 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: shazron@apache.org To: commits@cordova.apache.org X-Mailer: ASF-Git Admin Mailer Subject: ios commit: InAppBrowser - added class check for options arg. Message-Id: <20121127234940.C4E4E812B57@tyr.zones.apache.org> Date: Tue, 27 Nov 2012 23:49:40 +0000 (UTC) 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 Authored: Tue Nov 27 15:49:34 2012 -0800 Committer: Shazron Abdullah 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];