]> git.saurik.com Git - cydget.git/commitdiff
Pass through addMessageToConsole:.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 1 Apr 2011 00:13:01 +0000 (00:13 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 1 Apr 2011 00:16:12 +0000 (00:16 +0000)
LockScreen.mm

index 5fccd842a2b35a0665202dcc564c80e5f1fc9569..3644ce1095510b1a5637bf9e8a3b0d509a4d59a2 100644 (file)
@@ -262,6 +262,9 @@ MSInstanceMessageHook0(BOOL, NSURL, isSpringboardHandledURL) {
 
 - (void) webView:(WebView *)view addMessageToConsole:(NSDictionary *)message {
     NSLog(@"addMessageToConsole:%@", message);
+
+    if ([UIWebView instancesRespondToSelector:@selector(webView:addMessageToConsole:)])
+        [super webView:view addMessageToConsole:message];
 }
 
 @end