-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
3.7.1
-
MOODLE_37_STABLE
Hi
Functions in the javascript template of the database activity doesn't seem to be loaded by the mobile app.
A button with
onclick="test():"
and the
function test(){window.alert("hello"); console.log("hello");}
in the javascript template gives the error:
Uncaught ReferenceError: test is not defined
when the button is clicked.
Tested in moodle-3.7.2 and 3.4, and on mobile app for android, for windows, and on the mobile.moodledemo.net tool.
Regards
François