VividCortex / angular-recaptcha

AngularJS directive to add a reCaptcha widget to your form
http://vividcortex.github.io/angular-recaptcha/
MIT License
496 stars 257 forks source link

getResponse() not working when instantiated again #83

Closed elijahb closed 9 years ago

elijahb commented 9 years ago

Hi, I'm using it on a modal box, working fine the first time, but if the modal box is opened a second time despite it's shown it throws error Cannot read property 'value' of null when calling to vcRecaptchaService.getResponse() .

The modal box is called using Angular Bootstrap UI, so it uses a controller and a template, where the recaptcha tag is placed.

jackkum commented 9 years ago

@elijahb this can help: https://github.com/VividCortex/angular-recaptcha/issues/81

elijahb commented 9 years ago

Thanks @jackkum , it was it ! Sorry that I didn't check previous issues.