mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-83783 core_course: Make activity chooser button ids unique
This commit is contained in:
parent
485130d7c5
commit
7541e7282a
@ -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"
|
||||
@ -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}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user