-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.6.5, 3.7.1, 4.1.3
To reproduce:
- On a site with developer debugging turned on ...
- Import the attached Moodle XML file to the question bank in a course.
- Preview the newly imported question (called "Periodic table").
Note the error at the top:
Too much data passed as arguments to js_call_amd("qtype_ddimageortext/question", "init"). Generally there are better ways to pass lots of data from PHP to JavaScript, for example via Ajax, data attributes, ... . This warning is triggered if the argument string becomes longer than 1024 characters.
The message is right. In this case, we should probably switch to using data attributes.
- caused a regression
-
MOBILE-4648 Drag-drop onto image question should use blog data from HTML not AMD params
-
- Open
-
- will be (partly) resolved by
-
MDL-58645 Make drag-and-drop onto image questions responsive and fix the print layout
-
- Closed
-