jSignature icon indicating copy to clipboard operation
jSignature copied to clipboard

Cannot read propert 'resetCanvas' of undefined (jSignature.min.js:57)

Open Cdenby opened this issue 9 years ago • 2 comments
trafficstars

This is working very well for me, except when I try to use the reset command. What I am doing, in fact, is resetting and then reloading from the database (if the content exists).

Is this a known issue, or am I doing something wrong? Very hard to share code in this case because of all of the Ajax happening... But the one thing that's failing is this: $(div).jSignature("reset") which throws the following:

a in jSignature.min.js:57 $.fn.(anonymous function) in jSignature.min.js:61 My stuff which calls it...

Any hints?

Cdenby avatar Jul 15 '16 22:07 Cdenby

the same issue

TianqiHo avatar Jun 21 '19 04:06 TianqiHo

Same issue here. i have it integrated in an sap ui5 app and the problem came with an new UI5 Library (1.60.30 to 1.84.7) which also updated jquery from 2.2.3 to 3.5.1. It looks like the signature somehow gets destroyed. Any help would be appreciated.

ylan-agi avatar Oct 26 '21 08:10 ylan-agi