summaryrefslogtreecommitdiff
path: root/CyteKit/WebViewController.mm
diff options
context:
space:
mode:
Diffstat (limited to 'CyteKit/WebViewController.mm')
-rw-r--r--CyteKit/WebViewController.mm8
1 files changed, 2 insertions, 6 deletions
diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm
index 9c85b29..580a9ca 100644
--- a/CyteKit/WebViewController.mm
+++ b/CyteKit/WebViewController.mm
@@ -220,7 +220,7 @@ float CYScrollViewDecelerationRateNormal;
request_ = request;
- if ([request_ HTTPBody] == nil && [request_ HTTPBodyStream] == nil)
+ if (cache || [request_ HTTPBody] == nil && [request_ HTTPBodyStream] == nil)
[self loadRequest:request_];
else {
UIAlertView *alert = [[[UIAlertView alloc]
@@ -238,10 +238,6 @@ float CYScrollViewDecelerationRateNormal;
}
}
-- (void) reloadURL {
- [self reloadURLWithCache:YES];
-}
-
- (void) reloadData {
[super reloadData];
@@ -961,7 +957,7 @@ float CYScrollViewDecelerationRateNormal;
}
- (void) reloadButtonClicked {
- [self reloadURLWithCache:YES];
+ [self reloadURLWithCache:NO];
}
- (void) _customButtonClicked {