Merge branch 'MDL-73176' of https://github.com/paulholden/moodle
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
@@ -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 + '"]');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user