@@ -524,12 +524,12 @@ var UI = (function(UI, undefined) {
524
524
525
525
content += "<div class='input-group'>"
526
526
+ "<label data-i18n=light_wallet_user'>" + i18n . t ( "light_wallet_user" ) + "</label>"
527
- + "<input type='text' min='" + configuration . lightWalletUser + "' name='light_wallet_user' id='light_wallet_user' placeholder='' value='" + String ( configuration . lightWalletUser ? configuration . lightWalletUser : '' ) . escapeHTML ( ) + "' />"
527
+ + "<input type='text' min='" + configuration . lightWalletUser + "' name='light_wallet_user' id='light_wallet_user' placeholder='' value='" + UI . format ( configuration . lightWalletUser ? configuration . lightWalletUser : '' ) + "' />"
528
528
+ "</div>" ;
529
529
530
530
content += "<div class='input-group'>"
531
531
+ "<label data-i18n=light_wallet_password'>" + i18n . t ( "light_wallet_password" ) + "</label>"
532
- + "<input type='password' min='" + configuration . lightWalletPassword + "' name='light_wallet_password' id='light_wallet_password' placeholder='' value='" + String ( configuration . lightWalletPassword ? configuration . lightWalletPassword : '' ) . escapeHTML ( ) + "' />"
532
+ + "<input type='password' min='" + configuration . lightWalletPassword + "' name='light_wallet_password' id='light_wallet_password' placeholder='' value='" + UI . format ( configuration . lightWalletPassword ? configuration . lightWalletPassword : '' ) + "' />"
533
533
+ "</div>" ;
534
534
535
535
content += "<div class='input-group'><label data-i18n='min_weight_magnitude'>" + i18n . t ( "min_weight_magnitude" ) + "</label>" +
@@ -597,11 +597,11 @@ var UI = (function(UI, undefined) {
597
597
config . lightWalletHost = res [ 1 ] ;
598
598
config . lightWalletPort = res [ 2 ] ;
599
599
600
- var lightWalletUser = document . getElementById ( "light_wallet_user" ) . value ;
600
+ var lightWalletUser = '' // document.getElementById("light_wallet_user").value;
601
601
if ( lightWalletUser !== "" ) {
602
602
config . lightWalletUser = lightWalletUser ;
603
603
}
604
- var lightWalletPassword = document . getElementById ( "light_wallet_password" ) . value ;
604
+ var lightWalletPassword = '' // document.getElementById("light_wallet_password").value;
605
605
if ( lightWalletPassword !== "" ) {
606
606
config . lightWalletPassword = lightWalletPassword ;
607
607
}
0 commit comments