Fixed checking if BIP38 is actually requested before throwing error
This commit is contained in:
parent
ec693e6899
commit
73c7549592
1 changed files with 1 additions and 1 deletions
|
@ -5968,7 +5968,7 @@ body { font-family: Arial; }
|
||||||
<span><label id="paperlabeladdressestogenerate">Addresses to generate:</label> <input type="text" id="paperlimit" /></span>
|
<span><label id="paperlabeladdressestogenerate">Addresses to generate:</label> <input type="text" id="paperlimit" /></span>
|
||||||
<span><input type="button" id="papergenerate" value="Generate" onclick="
|
<span><input type="button" id="papergenerate" value="Generate" onclick="
|
||||||
|
|
||||||
if(document.getElementById('paperpassphrase').value == '')
|
if(document.getElementById('paperencrypt').checked && document.getElementById('paperpassphrase').value == '')
|
||||||
{
|
{
|
||||||
alert(ninja.translator.get('bip38alertemptypassphrase'));
|
alert(ninja.translator.get('bip38alertemptypassphrase'));
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue