From e760f95dc843cf11367d1aea0ed832991964584a Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 3 Dec 2015 00:23:09 -0500 Subject: rebuild project --- StoneIsland/platforms/ios/CordovaLib/Classes/CDVWebViewDelegate.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'StoneIsland/platforms/ios/CordovaLib/Classes/CDVWebViewDelegate.m') diff --git a/StoneIsland/platforms/ios/CordovaLib/Classes/CDVWebViewDelegate.m b/StoneIsland/platforms/ios/CordovaLib/Classes/CDVWebViewDelegate.m index 514827e5..a7e29086 100644 --- a/StoneIsland/platforms/ios/CordovaLib/Classes/CDVWebViewDelegate.m +++ b/StoneIsland/platforms/ios/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"] || [scheme isEqualToString:@"blob"]) { return YES; } @@ -251,10 +251,10 @@ static NSString *stripFragment(NSString* url) default: { - _loadCount = 0; - _state = STATE_WAITING_FOR_LOAD_START; NSString* description = [NSString stringWithFormat:@"CDVWebViewDelegate: Navigation started when state=%ld", (long)_state]; NSLog(@"%@", description); + _loadCount = 0; + _state = STATE_WAITING_FOR_LOAD_START; if ([_delegate respondsToSelector:@selector(webView:didFailLoadWithError:)]) { NSDictionary* errorDictionary = @{NSLocalizedDescriptionKey : description}; NSError* error = [[NSError alloc] initWithDomain:@"CDVWebViewDelegate" code:1 userInfo:errorDictionary]; -- cgit v1.2.3-70-g09d2