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:
OutCast3k
2016-02-09 23:52:55 +00:00
parent 0a8bb6f33a
commit 695947b02d
3 changed files with 12 additions and 3 deletions
+3
View File
@@ -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);