-
Bug
-
Resolution: Fixed
-
Minor
-
3.7.6, 3.8.4, 3.9.2
-
MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_38_STABLE, MOODLE_39_STABLE
-
Easy
-
The changes made in MDL-57680 cause the form-autocomplete component to throw the following error in the console when selecting or changing options using Internet Explorer 11.
jQuery.Deferred exception: Object doesn't support this action TypeError: Object doesn't support this action
|
at k (https://domain/lib/requirejs.php/1590141336/core/first.js:53:1430)
|
at Anonymous function (https://domain/lib/requirejs.php/1590141336/core/first.js:53:4656)
|
at j (https://domain/lib/javascript.php/1590141336/lib/jquery/jquery-3.2.1.min.js:1:29992)
|
at Anonymous function (https://domain/lib/javascript.php/1590141336/lib/jquery/jquery-3.2.1.min.js:1:30313) undefined
|
This presents to the end user as pop-up with the error message abbreviated to
Object doesn't support this action
|
Reverting the changes made restores functionality as per 3.7.5.
Steps to reproduce:
1) Visit a course page in Moodle and navigate to the Participants page by pressing the hamburger menu and selecting ‘Participants’ from the pop-up menu.
2) In the Participants page within the ‘Search keyword or select filter’ text box/menu press the downward triangle, from the list of options select a role. The role will appear above the ‘Search keyword…’ text box. The page should refresh and only display users with the role. However, it does nothing.
3) If you then click the x of the role to clear the filter it will generate an ‘TypeError’ message which appears as a pop-up window.
- is a regression caused by
-
MDL-57680 Autocomplete Form API: Can't clear single-select value, and does not fire change event
- Closed