diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-28 10:38:38 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-07 02:41:28 -0800 |
commit | 302bf91cd8a4388360bd4ccb3464e995e90c3235 (patch) | |
tree | afd6b5d66c4722d34b6350a3106d483d74f3a6d4 /UICaboodle | |
parent | dd48f2e66a305d635324adfc9e4689bcccb66357 (diff) |
Unload data when presenting modal page.
Diffstat (limited to 'UICaboodle')
-rw-r--r-- | UICaboodle/BrowserView.h | 1 | ||||
-rw-r--r-- | UICaboodle/BrowserView.mm | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/UICaboodle/BrowserView.h b/UICaboodle/BrowserView.h index 03355c2..636405c 100644 --- a/UICaboodle/BrowserView.h +++ b/UICaboodle/BrowserView.h @@ -56,6 +56,7 @@ - (void) retainNetworkActivityIndicator; - (void) releaseNetworkActivityIndicator; - (CYViewController *) pageForURL:(NSURL *)url forExternal:(BOOL)external; +- (void) unloadData; @end @interface BrowserController : CYViewController < diff --git a/UICaboodle/BrowserView.mm b/UICaboodle/BrowserView.mm index 201e854..f03c939 100644 --- a/UICaboodle/BrowserView.mm +++ b/UICaboodle/BrowserView.mm @@ -707,6 +707,8 @@ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *se ] autorelease]]; [[self navigationController] presentModalViewController:navigation animated:YES]; + + [delegate_ unloadData]; } } |