restoring code
This commit is contained in:
parent
fccfce2ae8
commit
8d1fa362f7
1 changed files with 5 additions and 9 deletions
|
@ -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…
Add table
Reference in a new issue