diff --git a/static/js/app/campaigns.js b/static/js/app/campaigns.js index c6e42c5f..6f009d1d 100644 --- a/static/js/app/campaigns.js +++ b/static/js/app/campaigns.js @@ -39,7 +39,7 @@ function save() { api.campaigns.post(campaign) .success(function(data) { successFlash("Campaign successfully launched!") - window.location = "/campaigns/" + campaign.id.toString() + window.location = "/campaigns/" + data.id.toString() }) .error(function(data) { $("#modal\\.flashes").empty().append("