a few changes to the way privatekeys are displayed when encrypted on the #newAddress Tab
This commit is contained in:
parent
b2805e135d
commit
8decad12c6
2 changed files with 6 additions and 3 deletions
|
@ -205,7 +205,7 @@
|
|||
</span>
|
||||
</div>
|
||||
|
||||
<div id="ase256wifkey" class="hidden">
|
||||
<div id="aes256wifkey" class="hidden">
|
||||
<label>AES-256 Encrypted WIF key</label>
|
||||
<input id="newPrivKeyEnc" type="text" class="form-control" value="" readonly>
|
||||
</div>
|
||||
|
|
|
@ -254,6 +254,9 @@ $(document).ready(function() {
|
|||
/* encrypted key code */
|
||||
if((!$("#encryptKey").is(":checked")) || $("#aes256pass").val()==$("#aes256pass_confirm").val()){
|
||||
$("#aes256passStatus").addClass("hidden");
|
||||
if($("#encryptKey").is(":checked")){
|
||||
$("#aes256wifkey").removeClass("hidden");
|
||||
}
|
||||
} else {
|
||||
$("#aes256passStatus").removeClass("hidden");
|
||||
}
|
||||
|
@ -271,9 +274,9 @@ $(document).ready(function() {
|
|||
|
||||
$("#encryptKey").click(function(){
|
||||
if($(this).is(":checked")){
|
||||
$("#ase256wifkey, #aes256passform").removeClass("hidden");
|
||||
$("#aes256passform").removeClass("hidden");
|
||||
} else {
|
||||
$("#ase256wifkey, #aes256passform, #aes256passStatus").addClass("hidden");
|
||||
$("#aes256wifkey, #aes256passform, #aes256passStatus").addClass("hidden");
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue