|
|
@ -220,10 +220,9 @@ function EDEXSendutxoRawTx(data) { |
|
|
|
|
|
|
|
console.log(result); |
|
|
|
|
|
|
|
if (result.result == 'success') { |
|
|
|
if (result.result == 'success' && result.completed == true) { |
|
|
|
console.log(send_data); |
|
|
|
toastr.success(_lang[defaultLang].TOASTR.SIGNED_TX_GENERATED + '.', _lang[defaultLang].TOASTR.WALLET_NOTIFICATION); |
|
|
|
} |
|
|
|
if (send_data.sendsig == 1) { |
|
|
|
console.log(send_data); |
|
|
|
toastr.info(_lang[defaultLang].TOASTR.SENDING_TX + '.', _lang[defaultLang].TOASTR.WALLET_NOTIFICATION); |
|
|
@ -440,6 +439,26 @@ function EDEXSendutxoRawTx(data) { |
|
|
|
toastr.info(_lang[defaultLang].TOASTR.REFRESHING_FUNDS, _lang[defaultLang].TOASTR.WALLET_NOTIFICATION); |
|
|
|
}); |
|
|
|
} |
|
|
|
} else if (result.result == 'success' && result.completed == false) { |
|
|
|
console.log(result); |
|
|
|
toastr.error(_lang[defaultLang].TOASTR.SIGNED_TX_GENERATED_FAIL + '.', _lang[defaultLang].TOASTR.WALLET_NOTIFICATION); |
|
|
|
|
|
|
|
edexcoin_sendto_result_tbl += '<tr class="">' + |
|
|
|
'<td>result</td>' + |
|
|
|
'<td>' + |
|
|
|
'<span class="label label-success">' + result.result + '</span>' + |
|
|
|
'</td>' + |
|
|
|
'</tr>' + |
|
|
|
'<tr class="">' + |
|
|
|
'<td>completed</td>' + |
|
|
|
'<td>' + |
|
|
|
'<span class="label label-primary">' + result.completed + '</span>' + |
|
|
|
'</td>' + |
|
|
|
'</tr>'; |
|
|
|
$('#edexcoin_sendto_result tbody').html(edexcoin_sendto_result_tbl); |
|
|
|
$('#edexcoin_send_coins_anothertx_btn').show(); |
|
|
|
$('#edexcoin-send-txdetails-screen').data('panel-api').done(); |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|