Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.3, 2.0
-
Fix Version/s: 1.9.5
-
Component/s: Forms Library
-
Labels:None
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE, MOODLE_20_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
All is in the title.
To correct this problem, i modify the "repeat_elements" function.
When the function clone the differents elements, i copy all of them in an array.
When the function applies the differents options for the cloned elements, in the case of a 'disabledif' option, i compare the name of the conditon of the element with the array. If it's in it, i change the name of the condition with the nice bracket [no].
It seems to work fine.
Attachments
Issue Links
| This issue is duplicated by: | ||||
| MDL-15602 | problem with "disabledif" function in "repeat_elements" function (with a solution) |
|
|
|
don't read : When the function clone the differents elements, i copy all of them in an array.
but : When the function clone the differents elements, i copy all the name of them in an array.