MDL-52760 forms: notify form changes in autocomplete element
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user