]> git.saurik.com Git - cydia.git/commitdiff
Fix the default custom button behaviour for commercial packages. My understanding...
authorDustin L. Howett <dustin@howett.net>
Tue, 5 Oct 2010 22:07:13 +0000 (18:07 -0400)
committerDustin L. Howett <dustin@howett.net>
Tue, 5 Oct 2010 22:07:13 +0000 (18:07 -0400)
UICaboodle/BrowserView.mm

index 1615795d295b2c01f9c9c4c8dc166c50074bbd98..50c31e45d9fd2f194ef06479e7864525db001c4a 100644 (file)
@@ -1592,13 +1592,17 @@ static Class $UIWebBrowserView;
     [self reloadURL];
 }
 
     [self reloadURL];
 }
 
+- (void) _customButtonClicked {
+    [self reloadButtonClicked];
+}
+
 - (void) customButtonClicked {
 #if !AlwaysReload
     if (function_ != nil)
         [self callFunction:function_];
     else
 #endif
 - (void) customButtonClicked {
 #if !AlwaysReload
     if (function_ != nil)
         [self callFunction:function_];
     else
 #endif
-    [self reloadButtonClicked];
+    [self _customButtonClicked];
 }
 
 - (void) setPageActive:(BOOL)active {
 }
 
 - (void) setPageActive:(BOOL)active {