You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/03/20 20:40:45 UTC

[2/2] ios commit: [CB-2308] Correctly delegate to CDVInAppBrowser webView:didFailLoadWithError

[CB-2308] Correctly delegate to CDVInAppBrowser webView:didFailLoadWithError


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

Branch: refs/heads/master
Commit: 93c141612e7c40414846efc8fa5bb9df2692f670
Parents: 66caa6a
Author: Ian Clelland <ic...@chromium.org>
Authored: Thu Mar 14 11:06:13 2013 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Wed Mar 20 15:40:31 2013 -0400

----------------------------------------------------------------------
 CordovaLib/Classes/CDVWebViewDelegate.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/93c14161/CordovaLib/Classes/CDVWebViewDelegate.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVWebViewDelegate.m b/CordovaLib/Classes/CDVWebViewDelegate.m
index 6bcb3fd..a72bfb9 100644
--- a/CordovaLib/Classes/CDVWebViewDelegate.m
+++ b/CordovaLib/Classes/CDVWebViewDelegate.m
@@ -155,7 +155,7 @@ typedef enum {
 {
     if (_state == STATE_NORMAL) {
         if (_loadCount == 1) {
-            if ([_delegate respondsToSelector:@selector(didFailLoadWithError:)]) {
+            if ([_delegate respondsToSelector:@selector(webView:didFailLoadWithError:)]) {
                 [_delegate webView:webView didFailLoadWithError:error];
             }
             _loadCount = -1;