MDL-68528 js: Normalise core component for template strings
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -508,6 +508,10 @@ define([
|
||||
param = parts.join(',').trim();
|
||||
}
|
||||
|
||||
if (!component || component === 'moodle') {
|
||||
component = 'core';
|
||||
}
|
||||
|
||||
if (param !== '') {
|
||||
// Allow variable expansion in the param part only.
|
||||
param = helper(param, context);
|
||||
|
||||
Reference in New Issue
Block a user