mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-77375 mod_assign: set overflow constraint boundary of the dropdowns
This commit is contained in:
parent
aaadb0d6ef
commit
23d3191684
@ -1127,7 +1127,7 @@ class renderer extends \plugin_renderer_base {
|
||||
*/
|
||||
public function render_assign_grading_table(\assign_grading_table $table) {
|
||||
$o = '';
|
||||
$o .= $this->output->box_start('boxaligncenter gradingtable');
|
||||
$o .= $this->output->box_start('boxaligncenter gradingtable position-relative');
|
||||
|
||||
$this->page->requires->js_init_call('M.mod_assign.init_grading_table', array());
|
||||
$this->page->requires->string_for_js('nousersselected', 'assign');
|
||||
|
@ -1421,7 +1421,7 @@ class assign_grading_table extends table_sql implements renderable {
|
||||
|
||||
$menu = new action_menu();
|
||||
$menu->set_owner_selector('.gradingtable-actionmenu');
|
||||
$menu->set_constraint('.gradingtable > .no-overflow');
|
||||
$menu->set_boundary('window');
|
||||
$menu->set_menu_trigger(get_string('edit'));
|
||||
foreach ($actions as $action) {
|
||||
$menu->add($action);
|
||||
|
Loading…
x
Reference in New Issue
Block a user