From 9ccd73808d34f97e0b9019363a270f28faf89c78 Mon Sep 17 00:00:00 2001 From: yottalogical Date: Wed, 6 Feb 2019 15:23:09 -0500 Subject: [PATCH] Capitalize TXID in success message --- js/coinbin.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/coinbin.js b/js/coinbin.js index 59ab879..2949aff 100644 --- a/js/coinbin.js +++ b/js/coinbin.js @@ -1196,7 +1196,7 @@ $(document).ready(function() { success: function(data) { $("#rawTransactionStatus").html(unescape($(data).find("response").text()).replace(/\+/g,' ')).removeClass('hidden'); if($(data).find("result").text()==1){ - $("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' Txid: ' + $(data).find("txid").text() + '
View on Blockchain Explorer'); + $("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' TXID: ' + $(data).find("txid").text() + '
View on Blockchain Explorer'); } else { $("#rawTransactionStatus").addClass('alert-danger').removeClass('alert-success').prepend(' '); } @@ -1222,7 +1222,7 @@ $(document).ready(function() { success: function(data) { $("#rawTransactionStatus").html(unescape($(data).find("response").text()).replace(/\+/g,' ')).removeClass('hidden'); if($(data).find("result").text()==1){ - $("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' Txid: ' + $(data).find("txid").text() + '
View on Blockchain Explorer'); + $("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' TXID: ' + $(data).find("txid").text() + '
View on Blockchain Explorer'); } else { $("#rawTransactionStatus").addClass('alert-danger').removeClass('alert-success').prepend(' '); } @@ -1251,7 +1251,7 @@ $(document).ready(function() { }, success: function(data) { if(data.status && data.data.txid){ - $("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' Txid: ' + data.data.txid + '
View on Blockchain Explorer'); + $("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' TXID: ' + data.data.txid + '
View on Blockchain Explorer'); } else { $("#rawTransactionStatus").addClass('alert-danger').removeClass('alert-success').removeClass("hidden").html(' Unexpected error, please try again').prepend(''); } @@ -1279,7 +1279,7 @@ $(document).ready(function() { }, success: function(data) { if((data.tx) && data.tx.hash){ - $("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' Txid: ' + data.data.txid + '
View on Blockchain Explorer'); + $("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' TXID: ' + data.data.txid + '
View on Blockchain Explorer'); } else { $("#rawTransactionStatus").addClass('alert-danger').removeClass('alert-success').removeClass("hidden").html(' Unexpected error, please try again').prepend(''); } @@ -1311,7 +1311,7 @@ $(document).ready(function() { success: function(data) { // console.info(JSON.stringify(data, null, 4)); if((data.status && data.data) && data.status=='success'){ - $("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' Txid: ' + data.data.txid + '
View on Blockchain Explorer'); + $("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' TXID: ' + data.data.txid + '
View on Blockchain Explorer'); } else { $("#rawTransactionStatus").addClass('alert-danger').removeClass('alert-success').removeClass("hidden").html(' Unexpected error, please try again').prepend(''); }