Skip to content
Snippets Groups Projects
Commit 76a01709 authored by smmercuri's avatar smmercuri
Browse files

Fix empty styling for fill in correct responses

parent a50411f8
No related branches found
No related tags found
No related merge requests found
......@@ -293,6 +293,8 @@ class stack_cas_castext2_parsons extends stack_cas_castext2_block {
$code .= 'stackSortable.add_headers(headers, available_header);' . "\n";
$code .= 'stackSortable.generate_used();' . "\n";
$code .= 'stackSortable.generate_available();' . "\n";
// Update the empty placeholders in grid mode, which is required for non-empty start or fill in correct responses.
$code .= 'stackSortable.update_grid_empty_css();' . "\n";
// Create the Sortable objects.
// First, instantiate with default options first in order to extract all possible options for validation.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment