+ QR-Code support for wallets

This commit is contained in:
Taegus
2019-03-19 20:04:49 +01:00
parent 3828637680
commit b5a3ec27c8
7 changed files with 77 additions and 2 deletions

View File

@@ -131,6 +131,18 @@ $(document).on("render_addressBook", function () {
});
});
$(".btnShowQRCode").off("click").on("click", function () {
var QRCodeAddress = $(this).attr("data-address");
$("#dlgShowAddressQRCode").iziModal();
$("#addrQRCode").html("");
$("#addrQRCode").qrcode(QRCodeAddress);
$("#dlgShowAddressQRCode").iziModal("open");
$("#btnScanQRCodeClose").off("click").on("click", function () {
$("#dlgShowAddressQRCode").iziModal("close");
});
});
$(".textAddress").off("click").on("click", function () {
EthoMainGUI.copyToClipboard($(this).html());