summaryrefslogtreecommitdiff
path: root/UICaboodle/BrowserView.m
diff options
context:
space:
mode:
Diffstat (limited to 'UICaboodle/BrowserView.m')
-rw-r--r--UICaboodle/BrowserView.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/UICaboodle/BrowserView.m b/UICaboodle/BrowserView.m
index 61a21c9..6fe74f4 100644
--- a/UICaboodle/BrowserView.m
+++ b/UICaboodle/BrowserView.m
@@ -376,7 +376,6 @@
[delegate_ openURL:url];
else if ([name isEqualToString:@"_popup"]) {
RVBook *book([[[RVPopUpBook alloc] initWithFrame:[delegate_ popUpBounds]] autorelease]);
- [book setDelegate:self];
RVPage *page([delegate_ pageForURL:url hasTag:NULL]);
if (page == nil) {
@@ -385,6 +384,9 @@
page = browser;
}
+ [book setDelegate:delegate_];
+ [page setDelegate:delegate_];
+
[book setPage:page];
[book_ pushBook:book];
} else goto unknown;