diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2008-04-25 13:09:34 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2008-04-25 13:09:34 +0000 |
commit | a07b2a71faa95fdd454637591226f1dc2bca7493 (patch) | |
tree | 799f00268692e5dede1a548b4eb584a37a2b1489 | |
parent | 1d3b229dcd51bdfa19cb2902988a5523228945b7 (diff) |
Stupid fix for keeping apptapp: urls from opening in a new window.
-rw-r--r-- | Cydia.mm | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3113,6 +3113,8 @@ void AddTextView(NSMutableDictionary *fields, NSMutableArray *packages, NSString } - (WebView *) webView:(WebView *)sender createWebViewWithRequest:(NSURLRequest *)request { + if ([[[request URL] scheme] isEqualToString:@"apptapp"]) + return nil; [self setBackButtonTitle:title_]; BrowserView *browser = [[[BrowserView alloc] initWithBook:book_ database:database_] autorelease]; [browser setDelegate:delegate_]; |