mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
utilities js needs to be called before connection for YUI 2.3.0 to work
This commit is contained in:
parent
5930cded47
commit
59fe9db0e5
@ -15,10 +15,10 @@ require_once($CFG->libdir.'/json/JSON.php');
|
||||
|
||||
require_js('yui_yahoo');
|
||||
require_js('yui_dom');
|
||||
require_js('yui_utilities');
|
||||
require_js('yui_connection');
|
||||
require_js($CFG->wwwroot.'/group/lib/clientlib.js');
|
||||
|
||||
|
||||
$success = true;
|
||||
|
||||
$courseid = required_param('id', PARAM_INT);
|
||||
@ -319,7 +319,7 @@ if (empty($CFG->enablegroupings)) {
|
||||
. get_string('editgroupsettings', 'group') . '" /></p>'."\n";
|
||||
echo '<p><input type="submit" '. $deletegroup_disabled . ' name="act_deletegroup" onclick="onDeleteGroup()" id="deletegroup" value="'
|
||||
. get_string('deleteselectedgroup', 'group') . '" /></p>'."\n";
|
||||
|
||||
|
||||
if ($shownotdone) {
|
||||
echo '<p><input type="submit" '.$disabled.' name="act_removegroup" '
|
||||
. 'id="removegroup" value="' . get_string('removegroupfromselectedgrouping', 'group') . '" /></p>'."\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user