Created
September 29, 2011 17:45
-
-
Save andymckay/1251390 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/media/js/zamboni/contributions.js b/media/js/zamboni/contributions.js | |
index ca57ee4..b491dff 100644 | |
--- a/media/js/zamboni/contributions.js | |
+++ b/media/js/zamboni/contributions.js | |
@@ -33,10 +33,10 @@ $(document).ready(function() { | |
top_dgFlow = top.dgFlow || (top.opener && top.opener.top.dgFlow); | |
if (top_dgFlow !== null) { | |
var thanks_url = $('#paypal-thanks').attr('href'); | |
- top_dgFlow.closeFlow(); | |
if(thanks_url) { | |
- modalFromURL(thanks_url); | |
+ top.modalFromURL(thanks_url); | |
} | |
+ top_dgFlow.closeFlow(); | |
if (top !== null) { | |
top.close(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment