Encryptiom enhancements

This commit is contained in:
bergware
2017-10-29 19:22:48 +01:00
parent 8986a35047
commit 5e6db3cf12

View File

@@ -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) {