MDL-77375 core_grades: set boundary of the dropdowns in grade setup page

This commit is contained in:
Shamim Rezaie 2023-07-01 23:53:43 +10:00
parent ddb1b56f36
commit 2d8c924d71
2 changed files with 2 additions and 1 deletions

View File

@ -129,6 +129,7 @@ class grade_edit_tree {
$actionsmenu = new action_menu();
$actionsmenu->set_menu_trigger(get_string('edit'));
$actionsmenu->set_owner_selector('grade-item-' . $eid);
$actionsmenu->set_boundary('window');
if (!$is_category_item && ($icon = $this->gtree->get_edit_icon($element, $this->gpr, true))) {
$actionsmenu->add($icon);

View File

@ -43,7 +43,7 @@
}}
<form id="gradetreeform" method="post" action="{{actionurl}}">
<div>
<div class="position-relative">
<input type="hidden" name="sesskey" value="{{sesskey}}">
{{#notification}}
{{>core/notification_info}}