From d870e7b6562be052e77ac0ac248ab35ce3064b26 Mon Sep 17 00:00:00 2001 From: Jaimos Skriletz Date: Sun, 14 Jun 2026 13:44:15 -0600 Subject: [PATCH] Set default in achievement evaluator editor save as form. Set the first option to use the achievement evaluator in the current achievement as the default selected option in the save as form of the achievement evaluator editor if it was not already set from a previous post. This fixes #2795. --- .../Instructor/AchievementEditor/save_as_form.html.ep | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/ContentGenerator/Instructor/AchievementEditor/save_as_form.html.ep b/templates/ContentGenerator/Instructor/AchievementEditor/save_as_form.html.ep index d7fd8c3ae9..db04f240f3 100644 --- a/templates/ContentGenerator/Instructor/AchievementEditor/save_as_form.html.ep +++ b/templates/ContentGenerator/Instructor/AchievementEditor/save_as_form.html.ep @@ -1,5 +1,6 @@ % # There are three things you can do with a new achievement editor. % # You can replace the current achievement, use it in a new achievement, or not use it at all. +% param('action.save_as.saveMode', 'use_in_current') unless param('action.save_as.saveMode');
<%= label_for 'action.save_as.target_file_id' => maketext('Save as:'), class => 'col-form-label col-auto' =%>