mirror of https://github.com/ventoy/Ventoy.git
change password input field to type=password (#2427)
This commit is contained in:
parent
6785f5d049
commit
102b179cd9
|
@ -164,7 +164,7 @@
|
|||
}
|
||||
|
||||
function CommonPasswordEntry(tbl, name, cn, en) {
|
||||
var tr = '<tr><td>'+name+'</td><td><input type="text" class="form-control" id="id_'+name+'" disabled="disabled"/></td>' +
|
||||
var tr = '<tr><td>'+name+'</td><td><input type="password" class="form-control" id="id_'+name+'" disabled="disabled"/></td>' +
|
||||
'<td><button id="id_btn_set_'+name+'" class="btn btn-primary btn-sm btn-add CommPwdSetBtn"><span class="fa fa-edit"></span><span id="id_span_edit"></span></button> ' +
|
||||
'<button id="id_btn_clr_'+name+'" class="btn btn-danger btn-sm btn-del CommPwdClearBtn"><span class="fa fa-trash"></span><span id="id_span_clear"></span></button></td>' +
|
||||
'<td><span id="id_span_desc_cn">' + cn + '</span>' +
|
||||
|
|
Loading…
Reference in New Issue