mirror of
https://github.com/docusealco/docuseal
synced 2026-11-13 23:52:32 -05:00
fix signature remember
This commit is contained in:
1 parent
64cd24a24d
commit
7eba4865bc
1 file changed
+2
@@ -7,6 +7,8 @@ module Submitters
|
|||||||
module_function
|
module_function
|
||||||
|
|
||||||
def call(submitter, params, cookies = nil, attachments = [])
|
def call(submitter, params, cookies = nil, attachments = [])
|
||||||
|
attachments = attachments.select { |e| e.record_id == submitter.id && e.record_type == 'Submitter' }
|
||||||
|
|
||||||
if (value = params[:signature_src].presence || params[:signature].presence)
|
if (value = params[:signature_src].presence || params[:signature].presence)
|
||||||
find_or_create_signature_from_value(submitter, value, attachments)
|
find_or_create_signature_from_value(submitter, value, attachments)
|
||||||
elsif params[:signed_signature_uuids].present?
|
elsif params[:signed_signature_uuids].present?
|
||||||
|
|||||||
Reference in new issue
Block a user