Skip to content

Commit

Permalink
group membership MDL-21005 Fixed setup JS on group/members.php so aja…
Browse files Browse the repository at this point in the history
…x functionality works
  • Loading branch information
Andrew Davis committed Nov 30, 2009
1 parent c74d052 commit 4c459d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion group/members.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
$groupname = format_string($group->name);

$PAGE->requires->js('group/clientlib.js');
$PAGE->requires->js_function_call('init_add_remove_members_page');
$PAGE->navbar->add($strparticipants, new moodle_url($CFG->wwwroot.'/user/index.php', array('id'=>$courseid)));
$PAGE->navbar->add($strgroups, new moodle_url($CFG->wwwroot.'/group/index.php', array('id'=>$courseid)));
$PAGE->navbar->add($stradduserstogroup);
Expand Down Expand Up @@ -128,4 +127,7 @@
</div>

<?php
//this must be after calling display() on the selectors so their setup JS executes first
$PAGE->requires->js_function_call('init_add_remove_members_page');

echo $OUTPUT->footer();

0 comments on commit 4c459d6

Please sign in to comment.