cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject ios commit: CB-9088 sms urls won't open in iframe (closes #143)
Date Thu, 28 May 2015 19:37:40 GMT
Repository: cordova-ios
Updated Branches:
  refs/heads/master 94a4cb2d6 -> 27679a398


CB-9088 sms urls won't open in iframe (closes #143)


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/27679a39
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/27679a39
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/27679a39

Branch: refs/heads/master
Commit: 27679a39881e1ddcddb0a48946227fc46ee277a1
Parents: 94a4cb2
Author: Edna Morales <edna592@gmail.com>
Authored: Thu May 28 08:50:33 2015 -0400
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Thu May 28 12:38:36 2015 -0700

----------------------------------------------------------------------
 CordovaLib/Classes/CDVWebViewDelegate.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/27679a39/CordovaLib/Classes/CDVWebViewDelegate.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVWebViewDelegate.m b/CordovaLib/Classes/CDVWebViewDelegate.m
index 387b605..663d561 100644
--- a/CordovaLib/Classes/CDVWebViewDelegate.m
+++ b/CordovaLib/Classes/CDVWebViewDelegate.m
@@ -197,7 +197,7 @@ static NSString *stripFragment(NSString* url)
 {
     NSString* scheme = [[request URL] scheme];
 
-    if ([scheme isEqualToString:@"mailto"] || [scheme isEqualToString:@"tel"]) {
+    if ([scheme isEqualToString:@"mailto"] || [scheme isEqualToString:@"tel"] || [scheme
isEqualToString:@"sms"]) {
         return YES;
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message