Skip to content

Commit

Permalink
4.4 Replaced removed deprecated YUI function.
Browse files Browse the repository at this point in the history
  • Loading branch information
mchurchward committed Aug 27, 2024
1 parent 3309603 commit 852486f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion module.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ M.mod_questionnaire = M.mod_questionnaire || {};
/* exported Y */
/* exported e */
M.mod_questionnaire.init_attempt_form = function() {
M.core_formchangechecker.init({formid: 'phpesp_response'});
require(['core_form/changechecker'], function(FormChangeChecker) {
FormChangeChecker.watchFormById('phpesp_response');
});
};

M.mod_questionnaire.init_sendmessage = function(Y) {
Expand Down

0 comments on commit 852486f

Please sign in to comment.