mirror of
https://github.com/moodle/moodle.git
synced 2025-07-23 23:31:58 +02:00
MDL-21400 JS modules now include needed strings in module description + fixed some string and icon issues in file picker
This commit is contained in:
@@ -30,7 +30,7 @@ M.util.image_url = function(imagename, component) {
|
||||
url = url + '&rev=' + M.cfg.themerev;
|
||||
}
|
||||
|
||||
if (component != '' && component != 'moodle' && component != 'core') {
|
||||
if (component && component != '' && component != 'moodle' && component != 'core') {
|
||||
url = url + '&component=' + component;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user