Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…/moodle into MOODLE_23_STABLE"

This reverts commit 771053b, reversing
changes made to c2fb582.
  • Loading branch information...
commit 218e485ff5d1db8c68b1e4b4619edf96541b6475 1 parent 38c5823
@nebgor nebgor authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 lib/yui/formchangechecker/formchangechecker.js
View
5 lib/yui/formchangechecker/formchangechecker.js
@@ -17,11 +17,6 @@ YUI.add('moodle-core-formchangechecker',
initializer : function(config) {
var formid = 'form#' + this.get('formid');
- if (!currentform) {
- // If the form was not found, then we can't check for changes.
- return;
- }
-
// Add change events to the form elements
Y.all(formid + ' input').once('change', M.core_formchangechecker.set_form_changed, this);
Y.all(formid + ' textarea').once('change', M.core_formchangechecker.set_form_changed, this);
Please sign in to comment.
Something went wrong with that request. Please try again.