Skip to content

Commit

Permalink
MDL-83783 core_course: Make activity chooser button ids unique
Browse files Browse the repository at this point in the history
  • Loading branch information
Amaia Anabitarte committed Nov 25, 2024
1 parent 485130d commit 7541e72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions course/templates/activitychooserbutton.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<div class="dropdown">
<button class="btn add-content d-flex justify-content-center align-items-center p-1 icon-no-margin"
type="button"
id="dropdownMenuButton"
id="dropdownMenuButton-{{#modid}}{{modid}}{{/modid}}{{^modid}}{{uniqid}}{{/modid}}"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
Expand All @@ -49,7 +49,7 @@
>
{{#pix}} t/add, core {{/pix}}
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton-{{#modid}}{{modid}}{{/modid}}{{^modid}}{{uniqid}}{{/modid}}">
{{> core_course/addresourceoractivitybutton }}
{{#actionlinks}}
{{> core/action_link}}
Expand Down

0 comments on commit 7541e72

Please sign in to comment.