Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.5
-
Fix Version/s: 2.6
-
Component/s: JavaScript
-
Testing Instructions:
-
Affected Branches:MOODLE_25_STABLE
-
Fixed Branches:MOODLE_26_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
We have an increasing amount of duplicated code in course modules which differs in how it all works. We need to bring this into a single library function with shared code. So far I can think of:
- get_section_id
- get_activity_id
- get_activity_name
There will be others too of course.
We should bring these into a single location so that we can have everything in a non-duplicated, single-point-of-change location.
Attachments
Issue Links
- blocks
-
MDL-33057 Rewrite DND Upload to YUI module (performance)
-
- Open
-
- caused a regression
-
MDL-42471 No 'move left' on front page when identing right
-
- Closed
-
- Discovered while testing
-
MDL-41959 Blocks after being undocked have a duplicate settings section
-
- Closed
-
- is blocked by
-
MDL-40806 Include YUI_config in js debug
-
- Closed
-
- is duplicated by
-
MDL-33786 Standardise course js methods
-
- Closed
-