Commit c9b8a789 authored by Dan Marsden's avatar Dan Marsden
Browse files

MDL-29690 fix usage of select all/deselect all in choice reports

parent 90863374
......@@ -204,11 +204,11 @@ class mod_choice_renderer extends plugin_renderer_base {
if ($choices->viewresponsecapability && $choices->deleterepsonsecapability) {
$selecturl = new moodle_url('#');
$selectallactions = new component_action('click',"select_all_in", array('div',null,'tablecontainer'));
$selectallactions = new component_action('click',"checkall");
$selectall = new action_link($selecturl, get_string('selectall'), $selectallactions);
$actiondata .= $this->output->render($selectall) . ' / ';
$deselectallactions = new component_action('click',"deselect_all_in", array('div',null,'tablecontainer'));
$deselectallactions = new component_action('click',"checknone");
$deselectall = new action_link($selecturl, get_string('deselectall'), $deselectallactions);
$actiondata .= $this->output->render($deselectall);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment