mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-29690 fix usage of select all/deselect all in choice reports
This commit is contained in:
parent
9086337415
commit
c9b8a78951
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user