mirror of
https://github.com/moodle/moodle.git
synced 2025-05-06 16:26:08 +02:00
Merge branch 'MDL-46818_master' of git://github.com/markn86/moodle
This commit is contained in:
commit
aea49eb5f9
@ -368,6 +368,14 @@ if ($moving) {
|
|||||||
|
|
||||||
echo $OUTPUT->container_end();
|
echo $OUTPUT->container_end();
|
||||||
|
|
||||||
|
$PAGE->requires->yui_module('moodle-core-formchangechecker',
|
||||||
|
'M.core_formchangechecker.init',
|
||||||
|
array(array(
|
||||||
|
'formid' => 'gradetreeform'
|
||||||
|
))
|
||||||
|
);
|
||||||
|
$PAGE->requires->string_for_js('changesmadereallygoaway', 'moodle');
|
||||||
|
|
||||||
echo $OUTPUT->footer();
|
echo $OUTPUT->footer();
|
||||||
|
|
||||||
// Restore original show/hide preference if moving
|
// Restore original show/hide preference if moving
|
||||||
|
@ -671,6 +671,7 @@ class grade_edit_tree_column_aggregation extends grade_edit_tree_column_category
|
|||||||
} else {
|
} else {
|
||||||
$attributes = array();
|
$attributes = array();
|
||||||
$attributes['id'] = 'aggregation_'.$category->id;
|
$attributes['id'] = 'aggregation_'.$category->id;
|
||||||
|
$attributes['class'] = 'ignoredirty';
|
||||||
$aggregation = html_writer::label(get_string('aggregation', 'grades'), 'aggregation_'.$category->id, false, array('class' => 'accesshide'));
|
$aggregation = html_writer::label(get_string('aggregation', 'grades'), 'aggregation_'.$category->id, false, array('class' => 'accesshide'));
|
||||||
$aggregation .= html_writer::select($options, 'aggregation_'.$category->id, $category->aggregation, null, $attributes);
|
$aggregation .= html_writer::select($options, 'aggregation_'.$category->id, $category->aggregation, null, $attributes);
|
||||||
$action = new component_action('change', 'update_category_aggregation', array('courseid' => $params['id'], 'category' => $category->id, 'sesskey' => sesskey()));
|
$action = new component_action('change', 'update_category_aggregation', array('courseid' => $params['id'], 'category' => $category->id, 'sesskey' => sesskey()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user