From 1b5fb638ea0078512d9bbbf551bfd507c515a1f3 Mon Sep 17 00:00:00 2001 From: Jordan Wright Date: Mon, 18 Jan 2016 11:53:27 -0600 Subject: [PATCH] Fixed new campaign redirect --- static/js/app/campaigns.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("
\