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

This reverts commit 771053bd83, reversing
changes made to c2fb582ef5.
This commit is contained in:
Aparup Banerjee
2013-03-14 11:05:11 +08:00
parent 38c5823efc
commit 218e485ff5
-5
View File
@@ -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);