Use explicit set save toolbar actions

This commit is contained in:
Wojtek
2026-10-16 10:32:20 +02:00
parent 5abf29cebb
commit 59335cbc52
6 changed files with 43 additions and 3 deletions
@@ -37,7 +37,8 @@ class HtmlView extends BaseHtmlView
{
ToolbarHelper::title($this->item->id ? Text::_('COM_TESTQUESTIONS_EDIT_SET') : Text::_('COM_TESTQUESTIONS_NEW_SET'));
ToolbarHelper::apply('set.apply', 'JTOOLBAR_APPLY');
ToolbarHelper::save('set.save', 'JTOOLBAR_SAVE');
ToolbarHelper::custom('set.save', 'save', 'save', 'COM_TESTQUESTIONS_SET_SAVE', false);
ToolbarHelper::custom('set.saveandclose', 'save', 'save', 'COM_TESTQUESTIONS_SET_SAVE_AND_CLOSE', false);
ToolbarHelper::cancel('set.cancel', 'JTOOLBAR_CANCEL');
}
}