Permalink
Browse files

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

  • Loading branch information...
danmarsden committed Oct 7, 2011
1 parent 9086337 commit c9b8a78951f055c328986d8f3756d7fba464df41
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/choice/renderer.php
View
@@ -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);

0 comments on commit c9b8a78

Please sign in to comment.