I added a Custom Field “Signature” (On CustomerDocType) I get this when it renders pad:
Tried to bench update and on different DocType as well, same result.
Javascript Console Error:
Cannot set data for signature (2)
“data:image/png;base64,iVBORw0KGgoAAAANSU…”
TypeError: undefined is not an object (evaluating ‘this.img.attr’)
set_image — signature.js:76
load_pad — signature.js:98
make_pad — signature.js:35
(anonymous function) — signature.js:14
promiseReactionJob
peterg
October 25, 2022, 2:36pm
2
This is a known issue, and a member of the community seems to be working on it.
opened 08:10AM - 06 Oct 22 UTC
closed 02:15PM - 31 Oct 22 UTC
bug
Hi there,
since version-14 the signature field is broken: #17760
One thing… I have seen is probably a mix up of code lines (which is easy to fix).
Another thing is that the signature field is handled by control.min.js in version-13 (giving color to the field, hiding it when the document is read-only).
As far as I understand the downloading of assets is not done anymore in version-14. Hence, there is no control.min.js and these functionalities are broken.
I dont know if this only the case for the signature field and how to fix this.
Any help would be much appreaciated.
Thanks!
2 Likes