marxjohnson / moodle-block_messageteacher

Moodle block to display messaging links for teachers on a course
http://moodle.org/mod/data/view.php?d=13&rid=2053
9 stars 9 forks source link

Error in Console #21

Closed kimberwarden closed 5 years ago

kimberwarden commented 8 years ago

I have tried this on three different Moodle 3.0.6 servers, one of which was a brand new installation for the sole purpose of testing this issue...

When a student clicks the Message My Teacher link, an error appears in the browser's developer tools console that says "Uncaught TypeError: require is not a function"

If any kind of debugging is enabled, another error is generated when the user clicks the Send button: VM1470:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0 The result is that the message form does not close or give a "Message Sent!" confirmation. This could be related to the fact that my Moodle installation does not currently send out e-mails, which is probably generating an error even though it does not display with debugging turned on.

marxjohnson commented 5 years ago

I am closing this issue because it is 2 years old and has no further activity. If your problem still occurs with the latest version (2.5), please open a new issue.