brinley / jSignature

jQuery plugin for adding web signature functionality
http://www.unbolt.net/jSignature
691 stars 529 forks source link

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

Open Cdenby opened 8 years ago

Cdenby commented 8 years ago

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?

TianqiHo commented 5 years ago

the same issue

ylan-agi commented 2 years ago

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.