From 36c6a5614ebf138e3a87cbb30fb19aeab8a8439c Mon Sep 17 00:00:00 2001 From: eric Date: Wed, 11 Jul 2012 21:05:58 -0400 Subject: [PATCH] [finish #27011135] fixed "login to pledge" trapped in iframe --- static/js/wishlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/wishlist.js b/static/js/wishlist.js index 9c08bae3..47435eb6 100644 --- a/static/js/wishlist.js +++ b/static/js/wishlist.js @@ -40,7 +40,7 @@ $j().ready(function() { contentblock.on("click", "div.create-account", function () { var span = $j(this).find("span"); var work_url = span.attr('title') - window.location = "/accounts/login/?next=" + work_url; + top.location = "/accounts/login/?next=" + work_url; }); // in panel view on the supporter page we want to remove the entire book listing from view upon wishlist-remove