Merge branch 'MDL-66601-38' of git://github.com/mihailges/moodle into MOODLE_38_STABLE

This commit is contained in:
Adrian Greeve
2020-06-11 09:55:51 +08:00
6 changed files with 14 additions and 5 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -410,7 +410,9 @@ Y.namespace('M.atto_image').Button = Y.Base.create('button', Y.M.editor_atto.Edi
focusAfterHide: true,
focusOnShowSelector: SELECTORS.INPUTURL
});
// Set a maximum width for the dialog. This will prevent the dialog width to extend beyond the screen width
// in cases when the uploaded image has larger width.
dialogue.get('boundingBox').setStyle('maxWidth', '90%');
// Set the dialogue content, and then show the dialogue.
dialogue.set('bodyContent', this._getDialogueContent())
.show();
File diff suppressed because one or more lines are too long
@@ -410,7 +410,9 @@ Y.namespace('M.atto_image').Button = Y.Base.create('button', Y.M.editor_atto.Edi
focusAfterHide: true,
focusOnShowSelector: SELECTORS.INPUTURL
});
// Set a maximum width for the dialog. This will prevent the dialog width to extend beyond the screen width
// in cases when the uploaded image has larger width.
dialogue.get('boundingBox').setStyle('maxWidth', '90%');
// Set the dialogue content, and then show the dialogue.
dialogue.set('bodyContent', this._getDialogueContent())
.show();
+3 -1
View File
@@ -408,7 +408,9 @@ Y.namespace('M.atto_image').Button = Y.Base.create('button', Y.M.editor_atto.Edi
focusAfterHide: true,
focusOnShowSelector: SELECTORS.INPUTURL
});
// Set a maximum width for the dialog. This will prevent the dialog width to extend beyond the screen width
// in cases when the uploaded image has larger width.
dialogue.get('boundingBox').setStyle('maxWidth', '90%');
// Set the dialogue content, and then show the dialogue.
dialogue.set('bodyContent', this._getDialogueContent())
.show();