mirror of
https://github.com/crypto-pro-web/crypto-pro-js.git
synced 2024-11-24 00:55:00 +03:00
Убрал избыточный сброс формы, добавил уточнение о типе подписи
This commit is contained in:
parent
b2ca997be6
commit
d9797b31a5
@ -12,10 +12,6 @@
|
|||||||
$signature = document.getElementById('signature'),
|
$signature = document.getElementById('signature'),
|
||||||
$signatureError = document.getElementById('signatureError');
|
$signatureError = document.getElementById('signatureError');
|
||||||
|
|
||||||
$createSignature.addEventListener('reset', function () {
|
|
||||||
window.location.reload();
|
|
||||||
});
|
|
||||||
|
|
||||||
$createSignature.addEventListener('submit', function (event) {
|
$createSignature.addEventListener('submit', function (event) {
|
||||||
var thumbprint = $certificate.value,
|
var thumbprint = $certificate.value,
|
||||||
message = $message.value;
|
message = $message.value;
|
||||||
|
@ -33,7 +33,6 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<button id="createSignature" type="submit" disabled>Создать подпись</button>
|
<button id="createSignature" type="submit" disabled>Создать подпись</button>
|
||||||
<button type="reset">Сбросить</button>
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
@ -43,7 +42,7 @@
|
|||||||
<br>
|
<br>
|
||||||
<pre id="hashError"></pre>
|
<pre id="hashError"></pre>
|
||||||
|
|
||||||
<label for="signature">Подпись:</label><br>
|
<label for="signature">Подпись (PKCS7):</label><br>
|
||||||
<textarea id="signature" cols="80" rows="30" placeholder="Не создана"></textarea>
|
<textarea id="signature" cols="80" rows="30" placeholder="Не создана"></textarea>
|
||||||
<p>
|
<p>
|
||||||
Для
|
Для
|
||||||
|
Loading…
Reference in New Issue
Block a user