diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-12-03 00:23:09 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-12-03 00:23:09 -0500 |
| commit | e760f95dc843cf11367d1aea0ed832991964584a (patch) | |
| tree | cf03b343ef830c58f2b12aa0c76135fca58489c9 /StoneIsland/platforms/ios/CordovaLib/Classes/CDVWebViewDelegate.m | |
| parent | 0a55602cb98fea35632f8f11e840c65cc9011018 (diff) | |
rebuild project
Diffstat (limited to 'StoneIsland/platforms/ios/CordovaLib/Classes/CDVWebViewDelegate.m')
| -rw-r--r-- | StoneIsland/platforms/ios/CordovaLib/Classes/CDVWebViewDelegate.m | 6 |
1 files changed, 3 insertions, 3 deletions
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]; |
