From 90351d9379a22db46dfe9d7d18ab720a468f3100 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 23 Feb 2011 20:46:30 -0800 Subject: Use a single URL for HTML5 Offline routing. --- MobileCydia.mm | 10 +++++----- 1 file 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; } -- cgit v1.2.3