mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-21124 towards full JS support in themes
This commit is contained in:
parent
38aafea249
commit
e68c5f36cf
3 changed files with 108 additions and 17 deletions
|
@ -367,7 +367,7 @@ class core_renderer extends renderer_base {
|
|||
|
||||
// Get the theme javascript
|
||||
$jsurl = $this->page->theme->javascript_url();
|
||||
$this->page->requires->js($jsurl->out_raw(), true)->in_head();
|
||||
$this->page->requires->js($jsurl->out(), true)->in_head();
|
||||
|
||||
// Perform a browser environment check for the flash version. Should only run once per login session.
|
||||
if (isloggedin() && !empty($CFG->excludeoldflashclients) && empty($SESSION->flashversion)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue