Separate save and save-and-close actions

This commit is contained in:
Wojtek
2026-10-15 21:33:19 +02:00
parent 8446e4a84a
commit eac29077fc
5 changed files with 24 additions and 7 deletions
@@ -22,6 +22,7 @@ class HtmlView extends BaseHtmlView
ToolbarHelper::title(Text::_('COM_TESTQUESTIONS_RESULT_PREVIEW'));
ToolbarHelper::save('result.save', 'JTOOLBAR_SAVE');
ToolbarHelper::save2close('result.save2close', 'JTOOLBAR_SAVE_AND_CLOSE');
ToolbarHelper::link('index.php?option=com_testquestions&view=results', 'COM_TESTQUESTIONS_RESULTS', 'back');
return parent::display($tpl);