Merge branch 'MDL-78962_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE

This commit is contained in:
Jun Pataleta 2023-08-10 10:57:58 +08:00 committed by Huong Nguyen
commit 9e665137d4
No known key found for this signature in database
GPG Key ID: 40D88AB693A3E72A
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -36,7 +36,7 @@ define(['jquery', 'core/templates'], function($, Templates) {
* Resolution of the returned promise causes the icon to be faded out and removed.
*
* @method addIconToContainer
* @param {jQuery} container The element to add the spinner to
* @param {jQuery|HTMLElement} container The element to add the spinner to
* @return {Promise} The Promise used to create the icon.
*/
var addIconToContainer = function(container) {
@ -56,7 +56,7 @@ define(['jquery', 'core/templates'], function($, Templates) {
* Resolution of the returned promise causes the icon to be faded out and removed.
*
* @method addIconToContainerWithPromise
* @param {jQuery} container The element to add the spinner to
* @param {jQuery|HTMLElement} container The element to add the spinner to
* @param {Promise} loadingIconPromise The jQuery Promise which determines the removal of the icon
* @return {jQuery} The Promise used to create and then remove the icon.
*/
@ -88,7 +88,7 @@ define(['jquery', 'core/templates'], function($, Templates) {
* Resolution of the returned promise causes the icon to be faded out and removed.
*
* @method addIconToContainerWithPromise
* @param {jQuery} container The element to add the spinner to
* @param {jQuery|HTMLElement} container The element to add the spinner to
* @return {Promise} A jQuery Promise to resolve when ready
*/
var addIconToContainerWithPromise = function(container) {