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