mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
group membership MDL-21005 Fixed setup JS on group/members.php so ajax functionality works
This commit is contained in:
parent
c74d0527b5
commit
4c459d6c40
@ -78,7 +78,6 @@ $strusergroupmembership = get_string('usergroupmembership', 'group');
|
||||
$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);
|
||||
@ -128,4 +127,7 @@ check_theme_arrows();
|
||||
</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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user