Merge branch 'MDL-62756_MOODLE_36' of https://github.com/miotto/moodle into MOODLE_36_STABLE
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -683,6 +683,8 @@ define(['jquery', 'core/log', 'core/str', 'core/templates', 'core/notification']
|
||||
}
|
||||
|
||||
var suggestionsElement = $(document.getElementById(state.suggestionsId));
|
||||
// Remove any click handler first.
|
||||
suggestionsElement.parent().prop("onclick", null).off("click");
|
||||
suggestionsElement.parent().on('click', '[role=option]', function(e) {
|
||||
var pendingKey = 'form-autocomplete-parent';
|
||||
M.util.js_pending(pendingKey);
|
||||
|
||||
Reference in New Issue
Block a user