Skip to content

Commit 852486f

Browse files
committed
4.4 Replaced removed deprecated YUI function.
1 parent 3309603 commit 852486f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

module.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,9 @@ M.mod_questionnaire = M.mod_questionnaire || {};
229229
/* exported Y */
230230
/* exported e */
231231
M.mod_questionnaire.init_attempt_form = function() {
232-
M.core_formchangechecker.init({formid: 'phpesp_response'});
232+
require(['core_form/changechecker'], function(FormChangeChecker) {
233+
FormChangeChecker.watchFormById('phpesp_response');
234+
});
233235
};
234236

235237
M.mod_questionnaire.init_sendmessage = function(Y) {

0 commit comments

Comments
 (0)