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>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="ase256wifkey" class="hidden">
|
<div id="aes256wifkey" class="hidden">
|
||||||
<label>AES-256 Encrypted WIF key</label>
|
<label>AES-256 Encrypted WIF key</label>
|
||||||
<input id="newPrivKeyEnc" type="text" class="form-control" value="" readonly>
|
<input id="newPrivKeyEnc" type="text" class="form-control" value="" readonly>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -254,6 +254,9 @@ $(document).ready(function() {
|
||||||
/* encrypted key code */
|
/* encrypted key code */
|
||||||
if((!$("#encryptKey").is(":checked")) || $("#aes256pass").val()==$("#aes256pass_confirm").val()){
|
if((!$("#encryptKey").is(":checked")) || $("#aes256pass").val()==$("#aes256pass_confirm").val()){
|
||||||
$("#aes256passStatus").addClass("hidden");
|
$("#aes256passStatus").addClass("hidden");
|
||||||
|
if($("#encryptKey").is(":checked")){
|
||||||
|
$("#aes256wifkey").removeClass("hidden");
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$("#aes256passStatus").removeClass("hidden");
|
$("#aes256passStatus").removeClass("hidden");
|
||||||
}
|
}
|
||||||
|
@ -271,9 +274,9 @@ $(document).ready(function() {
|
||||||
|
|
||||||
$("#encryptKey").click(function(){
|
$("#encryptKey").click(function(){
|
||||||
if($(this).is(":checked")){
|
if($(this).is(":checked")){
|
||||||
$("#ase256wifkey, #aes256passform").removeClass("hidden");
|
$("#aes256passform").removeClass("hidden");
|
||||||
} else {
|
} else {
|
||||||
$("#ase256wifkey, #aes256passform, #aes256passStatus").addClass("hidden");
|
$("#aes256wifkey, #aes256passform, #aes256passStatus").addClass("hidden");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue