MDL-52760 forms: notify form changes in autocomplete element

This commit is contained in:
Marina Glancy
2016-03-18 08:16:55 +08:00
parent fed66ad9e2
commit eb97811bee
2 changed files with 4 additions and 1 deletions
File diff suppressed because one or more lines are too long
+3
View File
@@ -111,6 +111,9 @@ define(['jquery', 'core/log', 'core/str', 'core/templates', 'core/notification']
}).fail(notification.exception);
// Because this function get's called after changing the selection, this is a good place
// to trigger a change notification.
if (typeof M.core_formchangechecker != 'undefined') {
M.core_formchangechecker.set_form_changed();
}
originalSelect.change();
};