From ce8a32b5b4e6086bc73b60b9fda5c2eb839cdccd Mon Sep 17 00:00:00 2001 From: Gordon Bateson Date: Sat, 22 Dec 2018 22:14:12 +0900 Subject: [PATCH] MDL-79863 qtype_ordering: qtype/ordering fix Github issue #36: draggable items become stuck to cursor when logged as student in Boost theme on Moodle 3.6 --- question/type/ordering/renderer.php | 2 +- question/type/ordering/version.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/question/type/ordering/renderer.php b/question/type/ordering/renderer.php index 0401280b0f3..1d31acfdf7a 100644 --- a/question/type/ordering/renderer.php +++ b/question/type/ordering/renderer.php @@ -146,7 +146,7 @@ class qtype_ordering_renderer extends qtype_with_combined_feedback_renderer { $printeditems = true; $result .= html_writer::start_tag('div', array('class' => 'ablock', 'id' => $ablockid)); $result .= html_writer::start_tag('div', array('class' => 'answer ordering')); - $result .= html_writer::start_tag('ul', array('class' => 'sortablelist', 'id' => $sortableid)); + $result .= html_writer::start_tag('ul', array('class' => 'sortablelist', 'id' => $sortableid, 'contenteditable' => 'true')); } // Set the CSS class and correctness img for this response. diff --git a/question/type/ordering/version.php b/question/type/ordering/version.php index 1167e79c260..cf6b5df331b 100644 --- a/question/type/ordering/version.php +++ b/question/type/ordering/version.php @@ -29,5 +29,5 @@ $plugin->cron = 0; $plugin->component = 'qtype_ordering'; $plugin->maturity = MATURITY_STABLE; $plugin->requires = 2010112400; // Moodle 2.0 -$plugin->version = 2018122179; -$plugin->release = '2018-12-21 (79)'; +$plugin->version = 2018122280; +$plugin->release = '2018-12-22 (80)';