MDL-21435 fixed regression

This commit is contained in:
Petr Skoda 2010-01-26 09:00:50 +00:00
parent c66a13b2d8
commit 8ce04d51a1

View File

@ -337,9 +337,9 @@ class core_renderer extends renderer_base {
// Get the theme javascript head and footer
$jsurl = $this->page->theme->javascript_url();
$this->page->requires->js($jsurl->out(), true)->in_head();
$this->page->requires->js($jsurl)->in_head();
$jsurl = $this->page->theme->javascript_url(true);
$this->page->requires->js($jsurl->out(), true);
$this->page->requires->js($jsurl);
// Perform a browser environment check for the flash version. Should only run once per login session.
if (isloggedin() && !empty($CFG->excludeoldflashclients) && empty($SESSION->flashversion)) {