Encryption enhancements

This commit is contained in:
bergware
2017-10-29 19:17:57 +01:00
parent cd3f45b3dc
commit 8986a35047

View File

@@ -154,7 +154,13 @@ function showPass(checked) {
}
function showCopy(checked) {
if ($('select[name="input"]').val()=='file') return;
if (forced || checked) $('#copy').show(); else $('#copy').hide();
if (forced || checked) {
$('#copy').show();
toggleStart($('input[name="text"]').val()!=$('input[name="copy"]').val() || $('input[name="text"]').val()=='');
} else {
$('#copy').hide();
toggleStart($('input[name="text"]').val()=='');
}
}
function getFileContent(event,form) {
var input = event.target;