Clearing story detail when moving back to story titles.

This commit is contained in:
Samuel Clay 2014-10-23 16:29:31 -07:00
parent 3d4ad2d364
commit d625f65349
2 changed files with 5 additions and 1 deletions

View file

@ -328,6 +328,10 @@
[self.storyTitlesTable reloadData];
}
if (!self.isDashboardModule) {
[appDelegate.storyPageControl resetPages];
}
[self.notifier setNeedsLayout];
}

View file

@ -391,7 +391,7 @@
- (void)clearStory {
self.activeStoryId = nil;
[self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]]];
[self.webView loadHTMLString:@"" baseURL:nil];
[MBProgressHUD hideHUDForView:self.webView animated:NO];
}