From 9571e51b8a7e8b4f44a5b838010945123f9ab769 Mon Sep 17 00:00:00 2001 From: Evan Date: Tue, 30 Apr 2019 06:25:18 +0000 Subject: [PATCH 1/5] Add username choice for sign buffer --- css/dialog.css | 2 +- example/main.html | 3 ++- example/main.js | 2 +- html/dialog.html | 8 ++++---- js/background.js | 17 +++++++++++------ js/dialog.js | 17 +++++++++++------ js/steem_keychain.js | 3 ++- js/web_interface.js | 6 +++--- 8 files changed, 35 insertions(+), 23 deletions(-) diff --git a/css/dialog.css b/css/dialog.css index 48b5cc4..16827f7 100644 --- a/css/dialog.css +++ b/css/dialog.css @@ -96,7 +96,7 @@ h3 .small { #modal-body-msg .msg-data>div, #modal-body-msg .msg-data>h3, -#transfer_acct_list { +#acct_list { display: none; } diff --git a/example/main.html b/example/main.html index d454947..1af2ab3 100644 --- a/example/main.html +++ b/example/main.html @@ -57,6 +57,7 @@

Transfer

Sign message

+ - +

Remove Account Authority

diff --git a/example/main.js b/example/main.js index 7e0b306..3555101 100644 --- a/example/main.js +++ b/example/main.js @@ -68,7 +68,7 @@ $("#send_signature").click(function() { steem_keychain.requestSignBuffer($("#sign_username").val(), $("#sign_message").val(), $("#sign_method option:selected").text(), function(response) { console.log('main js response - sign'); console.log(response); - }); + }, $("#sign_enforce").is(":checked")); }); $("#send_addauth").click(function() { diff --git a/html/dialog.html b/html/dialog.html index 0c09883..89f6003 100644 --- a/html/dialog.html +++ b/html/dialog.html @@ -31,14 +31,14 @@