Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Commit

Permalink
move prototype fix back to a frontend event observed only as it does …
Browse files Browse the repository at this point in the history
…not work for admin login due to hard coded admin prototype
  • Loading branch information
ProxiBlue committed Jun 22, 2021
1 parent 635da63 commit 90ae160
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions app/code/community/ProxiBlue/ReCaptcha/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,6 @@
</captcha_register>
</observers>
</controller_action_predispatch_checkout_onepage_savebilling>
<controller_action_layout_render_before>
<observers>
<fixPrototypeVersion>
<class>proxiblue_recaptcha/observer</class>
<method>fixPrototypeVersion</method>
</fixPrototypeVersion>
</observers>
</controller_action_layout_render_before>
</events>
</global>
<adminhtml>
Expand All @@ -102,6 +94,16 @@
</translate>
</adminhtml>
<frontend>
<events>
<controller_action_layout_render_before>
<observers>
<fixPrototypeVersion>
<class>proxiblue_recaptcha/observer</class>
<method>fixPrototypeVersion</method>
</fixPrototypeVersion>
</observers>
</controller_action_layout_render_before>
</events>
<layout>
<updates>
<proxiblue_recaptcha>
Expand Down

0 comments on commit 90ae160

Please sign in to comment.