Please sign in to comment.
MDL-65788 tool_policy: Prevent two modals rendering for guests.
With the Guest registration calling policyactions.js the [data-action="view"] was having two click handlers set on the inital policy modal trgger. With this commit we state what we want the click event to be set on.
- Loading branch information...
Showing with 14 additions and 22 deletions.
- +1 −1 admin/tool/policy/amd/build/policyactions.min.js
- +7 −15 admin/tool/policy/amd/src/policyactions.js
- +2 −2 admin/tool/policy/classes/form/accept_policy.php
- +2 −2 admin/tool/policy/templates/guestconsent.mustache
- +1 −1 admin/tool/policy/templates/page_agreedocs.mustache
- +1 −1 admin/tool/policy/templates/page_nopermission.mustache
Oops, something went wrong.