Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.3, 3.3.1
-
Fix Version/s: 3.3.2
-
Component/s: Administration, JavaScript
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_33_STABLE
-
Fixed Branches:MOODLE_33_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-59499_master_category_collapse_js_fix
Description
When expanding and collapsing categories on the course management page, the collapse event causes and JS error and the image does not get replaced.
This occurs when using a theme that uses the font awesome icons.
It seems the expansion JS was updated in MDL-40759 , but the collapse function was missed.
To reproduce:
- Set up categories and sub categories
- Visit category management page.
- Expand a category list
- Collapse the category list
Current Result:
The category is expanded and the image changes to reflect this.
The category is collapsed BUT the image does not change back to reflect this
Expected Result:
The category is expanded and the image changes to reflect this.
The category is collapsed and the image changes back to reflect this