mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-21400 apparently tinymce loading is not compatible with our brand new JS caching yet ;-)
This commit is contained in:
parent
cd2bbdabb7
commit
4c1f394246
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ class page_requirements_manager {
|
|||
throw new coding_exception('Attept to require a JavaScript file that does not exist.', $url);
|
||||
}
|
||||
}
|
||||
if (!empty($CFG->cachejs) and !empty($CFG->jsrev)) {
|
||||
if (!empty($CFG->cachejs) and !empty($CFG->jsrev) and strpos($url, '/lib/editor/') != 0) {
|
||||
return new moodle_url($CFG->httpswwwroot.'/lib/javascript.php', array('file'=>$url, 'rev'=>$CFG->jsrev));
|
||||
} else {
|
||||
return new moodle_url($CFG->httpswwwroot.$url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue