legalthings / angular-signature

HTML5 canvas based smooth signature drawing as angularJS directive (http://szimek.github.io/signature_pad/)
MIT License
105 stars 91 forks source link

signature.dataUrl not set in 'accept' #37

Closed d3vtoolsmith closed 7 years ago

d3vtoolsmith commented 7 years ago

It seems like .dataUrl property is never set in the 'accept' function anymore and so there's no way to get the url back (dataurlattribute also doesn't get it since it itself uses 'accept' to get the signature). Looks like the line was deleted as part of "Issue 34" commit.

jasny commented 7 years ago

The dataurl attribute is bound and doesn't react on 'accept'. Things are indeed broken. I've fixed them, but it today. See #36