mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
restoring code
This commit is contained in:
parent
fccfce2ae8
commit
8d1fa362f7
|
@ -134,15 +134,11 @@
|
|||
});
|
||||
|
||||
$('#submit-button').on("click", function (event) {
|
||||
if(signaturePad != null) {
|
||||
if (signaturePad.isEmpty()) {
|
||||
alert("Please provide signature first.");
|
||||
return false;
|
||||
} else {
|
||||
$('#signature_output').val(signaturePad.toDataURL());
|
||||
}
|
||||
}
|
||||
});
|
||||
if (signaturePad.isEmpty()) {
|
||||
alert("Please provide signature first.");
|
||||
return false;
|
||||
} else {
|
||||
$('#signature_output').val(signaturePad.toDataURL());
|
||||
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue