From fc1417084fb907d06f592129342f082a83aad57e Mon Sep 17 00:00:00 2001 From: Gustavo Bazzo Date: Wed, 2 Oct 2024 11:04:44 -0400 Subject: [PATCH] Fix issue sharing cart --- src/renderer.php | 1 + src/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/renderer.php b/src/renderer.php index c651f90..196bb28 100644 --- a/src/renderer.php +++ b/src/renderer.php @@ -555,6 +555,7 @@ public function section_header($section, $course, $onsectionpage, $sectionreturn $o .= html_writer::start_tag('li', array('id' => 'section-'.$section->section, //This id cannot be changed or dragndrop will break 'class' => "section main clearfix sectiondraggable yui3-dd-drop".$sectionstyle, 'role' => 'region', 'aria-label' => get_section_name($course, $section), "data-section-level" => $section->sectionlevel, + "data-for" => "section", "data-section-id" => $section->id, 'style' => 'list-style: none;') ); diff --git a/src/version.php b/src/version.php index 7265fee..d70912f 100644 --- a/src/version.php +++ b/src/version.php @@ -28,7 +28,7 @@ $plugin->requires = 2022041900.00; // Moodle 4.0.0 $plugin->component = 'format_recit'; // Full name of the plugin (used for diagnostics). $plugin->maturity = MATURITY_STABLE; -$plugin->release = 'v3.1.9-stable'; +$plugin->release = 'v3.1.10-stable'; $plugin->supported = [400, 403]; // Moodle 3.9.x, 3.10.x and 3.11.x are supported. $plugin->dependencies = [ 'theme_recit2' => 2023011900