[finish #27011135] fixed "login to pledge" trapped in iframe

pull/1/head
eric 2012-07-11 21:05:58 -04:00
parent df147937aa
commit 36c6a5614e
1 changed files with 1 additions and 1 deletions

View File

@ -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