mirror of
https://github.com/ok2/coinbin.git
synced 2026-05-09 18:15:23 +02:00
updated the #wallet section of the site so that when a transaction fails to broadcast due to a server side error it displays it in a box that can be manually processed elsewhere
This commit is contained in:
@@ -126,6 +126,8 @@ $(document).ready(function() {
|
||||
$("#walletSendConfirmStatus").removeClass('hidden').addClass('alert-success').html("txid: "+$(data).find("txid").text());
|
||||
} else {
|
||||
$("#walletSendConfirmStatus").removeClass('hidden').addClass('alert-danger').html(unescape($(data).find("response").text()).replace(/\+/g,' '));
|
||||
$("#walletSendFailTransaction").removeClass('hidden');
|
||||
$("#walletSendFailTransaction textarea").val(signed);
|
||||
thisbtn.attr('disabled',false);
|
||||
}
|
||||
|
||||
@@ -144,6 +146,7 @@ $(document).ready(function() {
|
||||
|
||||
$("#walletSendBtn").click(function(){
|
||||
|
||||
$("#walletSendFailTransaction").addClass('hidden');
|
||||
$("#walletSendStatus").addClass("hidden").html("");
|
||||
|
||||
var thisbtn = $(this);
|
||||
|
||||
Reference in New Issue
Block a user