Merge branch 'MDL-73074-311' of https://github.com/paulholden/moodle into MOODLE_311_STABLE
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1098,10 +1098,16 @@ function($, log, str, templates, notification, LoadingIcon, Aria) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Aria.hide(originalSelect.get());
|
||||
originalSelect.css('visibility', 'hidden');
|
||||
// Ensure we enhance the element only once.
|
||||
if (originalSelect.data('enhanced') === 'enhanced') {
|
||||
M.util.js_complete(pendingKey);
|
||||
return false;
|
||||
}
|
||||
originalSelect.data('enhanced', 'enhanced');
|
||||
|
||||
// Hide the original select.
|
||||
Aria.hide(originalSelect.get());
|
||||
originalSelect.css('visibility', 'hidden');
|
||||
|
||||
// Find or generate some ids.
|
||||
var state = {
|
||||
|
||||
Reference in New Issue
Block a user