Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.1, 2.2.1
-
Component/s: Database activity module
-
Database:Any
-
Testing Instructions:
-
Workaround:
-
Affected Branches:MOODLE_21_STABLE, MOODLE_22_STABLE
-
Fixed Branches:MOODLE_22_STABLE, MOODLE_23_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-31496_master -
Pull Master Diff URL:
Description
The problem is that certain database activity module fields are printed with inline CSS(width=300px. That doesn't let us modify the style of that fields.
The fields with that behaviour are those that haven't got redefined the display_add_field method (For example: number field class /mod/data/field/number/field.class.php). So the best option would be to modify the method of the parent class (data_field_base) and then if its necesary each field should have its own display_add_field redefined.