From ed7d5d64119cb66d143bf958f27ace8c11d94dea Mon Sep 17 00:00:00 2001 From: OutCast3k Date: Thu, 4 Jan 2018 10:42:45 +0000 Subject: [PATCH] small bugfix so that the #wallet inputs/outputs are properly set on the #fees page --- js/coinbin.js | 12 ++++++------ sha1sum | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/js/coinbin.js b/js/coinbin.js index eca361d..df60b70 100644 --- a/js/coinbin.js +++ b/js/coinbin.js @@ -677,10 +677,10 @@ $(document).ready(function() { var inputs = $(data).find("unspent").children().length; if($("#walletSegwit").is(":checked")){ $("#fees .txi_segwit").val(inputs); - $("#fees .txi_segwit").change(); + $("#fees .txi_segwit").trigger('input'); } else { $("#fees .txi_regular").val(inputs); - $("#fees .txi_regular").change(); + $("#fees .txi_regular").trigger('input'); } $.each($("#walletSpendTo .output"), function(i,o){ @@ -688,10 +688,10 @@ $(document).ready(function() { var ad = coinjs.addressDecode(addr.val()); if (ad.version == coinjs.multisig){ // p2sh $("#fees .txo_p2sh").val(($("#fees .txo_p2sh").val()*1)+1); - $("#fees .txo_p2sh").change(); + $("#fees .txo_p2sh").trigger('input'); } else { // p2pkh $("#fees .txo_p2pkh").val(($("#fees .txo_p2pkh").val()*1)+1); - $("#fees .txo_p2pkh").change(); + $("#fees .txo_p2pkh").trigger('input'); } }); @@ -700,10 +700,10 @@ $(document).ready(function() { var ad = coinjs.addressDecode(addr); if (ad.version == coinjs.multisig){ // p2sh $("#fees .txo_p2sh").val(($("#fees .txo_p2sh").val()*1)+1); - $("#fees .txo_p2sh").change(); + $("#fees .txo_p2sh").trigger('input'); } else { // p2pkh $("#fees .txo_p2pkh").val(($("#fees .txo_p2pkh").val()*1)+1); - $("#fees .txo_p2pkh").change(); + $("#fees .txo_p2pkh").trigger('input'); } } diff --git a/sha1sum b/sha1sum index 93de7ac..ae4115d 100644 --- a/sha1sum +++ b/sha1sum @@ -1,8 +1,8 @@ ----- Version 1.3 2018.01.03 --- +---- Version 1.3 2018.01.04 --- 77e4519962e2f6a9fc93342137dbb31c33b76b04 ./js/aes.js 3a09a8fc0cfe828b57fc798d668234d0490ee1a6 ./js/bootstrap-datetimepicker.min.js 253711c6d825de55a8360552573be950da180614 ./js/bootstrap.min.js -f43691b7db457598283d3b146f8b8545b2aa21a1 ./js/coinbin.js +c23f25f218ed8a05376c2f7d98d7056ee9738c74 ./js/coinbin.js 31fbebf65d9cae8f26761cb057c4fb1b97339d08 ./js/coin.js 988565bc2cb402d63ed5c5fd7ff47c4278efc2c5 ./js/collapse.js 9ba5ede3d7f9d4c8fd623395f196adfdcf7e970f ./js/crypto-min.js