-
Bug
-
Resolution: Fixed
-
Minor
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-73495-master -
When defining data attributes for individual tabs, these attributes are not shown on the tabs HTML structure.
Data attributes can be used in each individual tab for verifying permissions or passing other information, and also are added to the HTML structure so they can be used in our JS code.
Right now we are adding data attributes to the main dynamic tabs container and then also to each tab. Main container data does not seem to be of much use so this can be improved with just passing data to each tab container and fixing mustache file to add those attributes to the generated HTML code.