Merge branch 'MDL-34433-master-1' of git://git.luns.net.uk/moodle
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ YUI.add('moodle-core-formchangechecker',
|
||||
* Set the form changed state to true
|
||||
*/
|
||||
M.core_formchangechecker.set_form_changed = function(e) {
|
||||
if (e.target.hasClass('ignoredirty')) {
|
||||
if (e && e.target && e.target.hasClass('ignoredirty')) {
|
||||
// Don't warn on elements with the ignoredirty class
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user