mirror of
https://github.com/unraid/webgui.git
synced 2026-03-13 14:30:29 -05:00
Encryptiom enhancements
This commit is contained in:
@@ -154,12 +154,14 @@ function showPass(checked) {
|
||||
}
|
||||
function showCopy(checked) {
|
||||
if ($('select[name="input"]').val()=='file') return;
|
||||
var text = $('input[name="text"]').val();
|
||||
var copy = $('input[name="copy"]').val();
|
||||
if (forced || checked) {
|
||||
$('#copy').show();
|
||||
toggleStart($('input[name="text"]').val()!=$('input[name="copy"]').val() || $('input[name="text"]').val()=='');
|
||||
toggleStart(text!=copy || text=='');
|
||||
} else {
|
||||
$('#copy').hide();
|
||||
toggleStart($('input[name="text"]').val()=='');
|
||||
toggleStart(text=='');
|
||||
}
|
||||
}
|
||||
function getFileContent(event,form) {
|
||||
|
||||
Reference in New Issue
Block a user