Skip to content

Commit

Permalink
MDL-21400 load as few YUI2 as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Feb 6, 2010
1 parent 41912a2 commit 3244d9c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions group/members.php
Expand Up @@ -77,6 +77,7 @@

$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)));
Expand Down
1 change: 0 additions & 1 deletion lib/ajax/ajaxlib.php
Expand Up @@ -247,7 +247,6 @@ protected function init_requirements_data(moodle_page $page, core_renderer $rend
// 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');
Expand Down

0 comments on commit 3244d9c

Please sign in to comment.