mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
Merge branch 'MDL-73176' of https://github.com/paulholden/moodle
This commit is contained in:
commit
e6600293f4
2
lib/amd/build/form-autocomplete.min.js
vendored
2
lib/amd/build/form-autocomplete.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -111,7 +111,8 @@ define([
|
||||
}
|
||||
}
|
||||
|
||||
var activeValue = selectionRegion.attr('data-active-value');
|
||||
// Ensure we are creating a properly formed selector based on the active value.
|
||||
var activeValue = selectionRegion.attr('data-active-value')?.replace(/"/g, '\\"');
|
||||
return selectionRegion.find('[data-value="' + activeValue + '"]');
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user