Merge branch 'MDL-66601-master' of git://github.com/mihailges/moodle

This commit is contained in:
Adrian Greeve
2020-06-11 09:43:07 +08:00
6 changed files with 15 additions and 6 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -488,7 +488,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
@@ -488,7 +488,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
@@ -486,7 +486,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();