summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MobileCydia.mm11
1 files changed, 6 insertions, 5 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index bfea21c..484d0ed 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -4504,11 +4504,12 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
- (void) webView:(WebView *)view didClearWindowObject:(WebScriptObject *)window forFrame:(WebFrame *)frame {
[super webView:view didClearWindowObject:window forFrame:frame];
- [window setValue:[changes_ Cydia$webScriptObjectInContext:window] forKey:@"changes"];
- [window setValue:[issues_ Cydia$webScriptObjectInContext:window] forKey:@"issues"];
- [window setValue:[sizes_ Cydia$webScriptObjectInContext:window] forKey:@"sizes"];
-
- [window setValue:self forKey:@"queue"];
+ [window setValue:[[NSDictionary dictionaryWithObjectsAndKeys:
+ changes_, @"changes",
+ issues_, @"issues",
+ sizes_, @"sizes",
+ self, @"queue",
+ nil] Cydia$webScriptObjectInContext:window] forKey:@"cydiaConfirm"];
}
- (id) initWithDatabase:(Database *)database {