Merge branch 'MDL-84298-405' of https://github.com/paulholden/moodle into MOODLE_405_STABLE

This commit is contained in:
Huong Nguyen 2025-04-17 10:53:34 +07:00
commit 940e7adf84
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -274,7 +274,7 @@ define([
templates.render('mod_assign/popout_button', {}).done(function(html) {
var parents = region.find('[data-fieldtype="filemanager"],[data-fieldtype="editor"],[data-fieldtype="grading"]')
.closest('.fitem');
parents.addClass('has-popout').find('label').parent().append(html);
parents.addClass('has-popout').find('label:first').parent().append(html);
region.on('click', '[data-region="popout-button"]', this._togglePopout.bind(this));
}.bind(this)).fail(notification.exception);