Forum inline reply submit does not respond

Forum inline reply submit does not respond

by Louisa van der Linden -
Number of replies: 1

Moodle 3.7.2 - Single simple discussion forum type (although I can re-create error on standard type as well).

For admin the inline reply works fine.

For student, the Submit button does not respond with following js message in console
The advanced reply works.

Firefox: TypeError: j.find(...).get(...) is undefined3 first.js:162:990
Chrome: VM30 first.js:162 Uncaught TypeError: Cannot read property 'value' of undefined at HTMLButtonElement.<anonymous> (VM30 first.js:162)

Any ideas on how to fix this?

Average of ratings: -
In reply to Louisa van der Linden

Re: Forum inline reply submit does not respond

by Louisa van der Linden -
We managed to resolve this.
We switched off the student's forum view preference (where they choose nested replies, flat list etc.) via theme customisations.
This caused the error in this line in the first.js "define('mod_forum/inpage_reply', ["jquery","core/templates","core/notification","mod_forum/repository","mod_forum/selectors"]" since it was expecting this to be present.