Skip to content

Commit

Permalink
MDL-29690 fix usage of select all/deselect all in choice reports
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden authored and Sam Hemelryk committed Oct 9, 2011
1 parent 75371a7 commit c61c509
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/choice/renderer.php
Expand Up @@ -204,11 +204,11 @@ public function display_publish_name_vertical($choices) {
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);

Expand Down

0 comments on commit c61c509

Please sign in to comment.