summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-23 20:46:30 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:13 -0800
commit90351d9379a22db46dfe9d7d18ab720a468f3100 (patch)
tree66bbe9d27e720e07267634c01686649512863a3f /MobileCydia.mm
parent5cdfcd6ff1223d3200b8f8a051b07f137e353604 (diff)
Use a single URL for HTML5 Offline routing.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm10
1 files changed, 5 insertions, 5 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 10fe44b..928558e 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -4855,7 +4855,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
[NSNumber numberWithInteger:[database_ fetcher].PartialPresent()], @"resuming",
nil];
- [self setURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/confirm/", UI_]]];
+ [self setURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/#!/confirm/", UI_]]];
[[self navigationItem] setLeftBarButtonItem:[[[UIBarButtonItem alloc]
initWithTitle:UCLocalize("CANCEL")
@@ -5065,7 +5065,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
progress_ = [[[CydiaProgressData alloc] init] autorelease];
[progress_ setDelegate:self];
- [self setURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/progress/", UI_]]];
+ [self setURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/#!/progress/", UI_]]];
[scroller_ setBackgroundColor:[UIColor blackColor]];
@@ -5985,7 +5985,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
database_ = database;
buttons_ = [[NSMutableArray alloc] initWithCapacity:4];
name_ = [[NSString alloc] initWithString:name];
- [self setURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/package/#!/%@", UI_, name_]]];
+ [self setURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/#!/package/%@", UI_, name_]]];
} return self;
}
@@ -6422,7 +6422,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
- (id) init {
if ((self = [super init]) != nil) {
- [self setURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/home/", UI_]]];
+ [self setURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/#!/home/", UI_]]];
} return self;
}
@@ -6481,7 +6481,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
- (id) init {
if ((self = [super init]) != nil) {
- [self setURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/manage/", UI_]]];
+ [self setURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@/#!/manage/", UI_]]];
} return self;
}