From 6133571b5ac30ceae9d2d34540f58b5539cda93c Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Mon, 20 Feb 2017 00:47:09 +0100 Subject: [PATCH] Debugging - Starting to see results --- Site/Pages/v5/Financial/Donate.aspx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Site/Pages/v5/Financial/Donate.aspx b/Site/Pages/v5/Financial/Donate.aspx index 5bd460c9..437b2113 100644 --- a/Site/Pages/v5/Financial/Donate.aspx +++ b/Site/Pages/v5/Financial/Donate.aspx @@ -16,10 +16,14 @@ // We have received a donation at this address donatedFunds += (cents / 100.0); - $('#odoDonatedCents').innerHTML = donatedFunds; + odoDonatedCents.innerHTML = donatedFunds; // looks weird but $('#id') not used with odo + + var json = {}; + json.guid = guid; + json.txHash = hash; SwarmopsJS.ajaxCall('/Pages/v5/Financial/Donate.aspx/ProcessTransactionReceived', - { guid: guid, txHash: hash }, + json, function (data) { if (data.Success) { $('#paraStatus').text(data.DisplayMessage);