javascript-UFO MDL-19738 Stopped ufo.js being included in outputlib and included it in each place it was actually being used.
It will no only be loaded when it is being used. If something new comes along they will need to remember to require it. At the same time cleaned up a few deprecated calls
This commit is contained in:
@@ -1569,7 +1569,6 @@ class moodle_core_renderer extends moodle_renderer_base {
|
||||
$this->page->requires->js('lib/overlib/overlib.js')->in_head();
|
||||
$this->page->requires->js('lib/overlib/overlib_cssstyle.js')->in_head();
|
||||
$this->page->requires->js('lib/cookies.js')->in_head();
|
||||
$this->page->requires->js('lib/ufo.js')->in_head();
|
||||
$this->page->requires->js_function_call('setTimeout', Array('fix_column_widths()', 20));
|
||||
|
||||
$focus = $this->page->focuscontrol;
|
||||
|
||||
Reference in New Issue
Block a user