orca-nrw / crossplatform-moodle-lti-plugin

GNU General Public License v3.0
3 stars 5 forks source link

ORCA-907 Improvement: Bad coding style in javascript call #6

Closed NinaHerrmann closed 2 years ago

NinaHerrmann commented 2 years ago

when calling mod_form I get the warning ´Too much data passed as arguments to js_call_amd("mod_orcalti/orca_lti_selector-lazy", "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.`

Although this is is "merely" a warning you might want to change it, as it is obviously bad coding style.

KaiOrca commented 2 years ago

Ticket is closed => QA stag done