Commit b3166c4d authored by jun's avatar jun
Browse files

Merge branch 'MDL-72449-master' of git://github.com/andrewnicols/moodle

parents b7adf3a5 dc3ecef9
......@@ -294,12 +294,12 @@ M.util.show_confirm_dialog = function(e, args) {
if (target.get('name') && target.get('value')) {
targetform.append('<input type="hidden" name="' + target.get('name') +
'" value="' + target.get('value') + '">');
FormChangeChecker.markFormAsDirty(targetform);
FormChangeChecker.markFormAsDirty(targetform.getDOMNode());
}
targetform.submit();
} else if (target.test('form')) {
FormChangeChecker.markFormAsDirty(target);
FormChangeChecker.markFormAsDirty(target.getDOMNode());
target.submit();
} else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment