1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-17 14:35:29 +02:00

MDL-21400 load as few YUI2 as possible

This commit is contained in:
Petr Skoda 2010-02-06 15:26:47 +00:00
parent 41912a261f
commit 3244d9cc57
2 changed files with 1 additions and 1 deletions

@ -77,6 +77,7 @@ $strusergroupmembership = get_string('usergroupmembership', 'group');
$groupname = format_string($group->name);
$PAGE->requires->yui2_lib('connection');
$PAGE->requires->js('/group/clientlib.js');
$PAGE->navbar->add($strparticipants, new moodle_url('/user/index.php', array('id'=>$courseid)));
$PAGE->navbar->add($strgroups, new moodle_url('/group/index.php', array('id'=>$courseid)));

@ -247,7 +247,6 @@ class page_requirements_manager {
// For now include YUI2, this will be removed before beta.
$this->yui2_lib('dom'); // needs to be migrated to YUI3 before we release 2.0
$this->yui2_lib('container'); // needs to be migrated to YUI3 before we release 2.0
$this->yui2_lib('connection'); // needs to be migrated to YUI3 before we release 2.0
$this->string_for_js('confirmation', 'admin');
$this->string_for_js('cancel', 'moodle');