Merge branch 'MDL-38356-m23' of git://github.com/andrewnicols/moodle into MOODLE_23_STABLE
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user