summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-04-25 13:09:34 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2008-04-25 13:09:34 +0000
commita07b2a71faa95fdd454637591226f1dc2bca7493 (patch)
tree799f00268692e5dede1a548b4eb584a37a2b1489
parent1d3b229dcd51bdfa19cb2902988a5523228945b7 (diff)
Stupid fix for keeping apptapp: urls from opening in a new window.
-rw-r--r--Cydia.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cydia.mm b/Cydia.mm
index 0036089..c2cbb24 100644
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -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_];