summaryrefslogtreecommitdiff
path: root/CyteKit
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-26 02:08:21 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-26 02:08:21 -0700
commitd69dbfc52fb69ef3e891052c92b2a0dd6bc9f35f (patch)
tree12c8179eace2bbb7e1c830dd1d60b740c73c0e12 /CyteKit
parent9aaebfec365992f934252b0b80fa4e870f6bb45f (diff)
Don't hold the Removing Essentials dialog over ProgressController.v1.1.0
Diffstat (limited to 'CyteKit')
-rw-r--r--CyteKit/WebViewController.h3
-rw-r--r--CyteKit/WebViewController.mm8
2 files changed, 2 insertions, 9 deletions
diff --git a/CyteKit/WebViewController.h b/CyteKit/WebViewController.h
index c2e64d5..9b9ba94 100644
--- a/CyteKit/WebViewController.h
+++ b/CyteKit/WebViewController.h
@@ -109,9 +109,6 @@
- (void) loadRequest:(NSURLRequest *)request;
- (bool) isLoading;
-- (void) reloadURLWithCache:(BOOL)cache;
-- (void) reloadURL;
-
- (id) init;
- (id) initWithURL:(NSURL *)url;
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 {