Add link to blockchain explorer for Cryptoid.info (Carboncoin)
This commit is contained in:
parent
fcbf25eaec
commit
cb81362330
1 changed files with 1 additions and 2 deletions
|
@ -1222,8 +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');
|
||||
$("#rawTransactionStatus").html('txid: '+$(data).find("txid").text());
|
||||
$("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' Txid: ' + $(data).find("txid").text() + '<br> <a href="https://chainz.cryptoid.info/carbon/tx.dws?' + $(data).find("txid").text() + '" target="_blank">View on Blockchain Explorer</a>');
|
||||
} else {
|
||||
$("#rawTransactionStatus").addClass('alert-danger').removeClass('alert-success').prepend('<span class="glyphicon glyphicon-exclamation-sign"></span> ');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue