MDL-55074 behat: Fix zoom in/out dom insertion

This commit is contained in:
Damyon Wiese
2016-10-26 10:18:52 +08:00
committed by Rajesh Taneja
parent eb1335c63c
commit 33cb7031de
2 changed files with 2 additions and 2 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -218,7 +218,7 @@ define(['jquery', 'core/notification', 'core/templates', 'core/fragment',
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('.fitemtitle label').parent().append(html);
parents.addClass('has-popout').find('label').parent().append(html);
region.on('click', '[data-region="popout-button"]', this._togglePopout.bind(this));
}.bind(this)).fail(notification.exception);