Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-38356-m23' of git://github.com/andrewnicols/moodle …

…into MOODLE_23_STABLE
  • Loading branch information...
commit d5fc9f3d775937625f4df441de03eb77af0d69e6 2 parents 218e485 + 10c6db9
@nebgor nebgor authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/yui/formchangechecker/formchangechecker.js
View
3  lib/yui/formchangechecker/formchangechecker.js
@@ -16,6 +16,9 @@ YUI.add('moodle-core-formchangechecker',
*/
initializer : function(config) {
var formid = 'form#' + this.get('formid');
+ if (!Y.one(formid)) {
+ return;
+ }
// Add change events to the form elements
Y.all(formid + ' input').once('change', M.core_formchangechecker.set_form_changed, this);
Please sign in to comment.
Something went wrong with that request. Please try again.