Skip to content

Commit

Permalink
Category edit form should use return url (#36560)
Browse files Browse the repository at this point in the history
Currently the article edit form respects return URLs; the category edit form does not. Adding it here makes for a more consistent editing experience.
  • Loading branch information
crystalenka authored Jan 4, 2022
1 parent 0a5f259 commit 477fa5b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@

<?php echo $this->form->getInput('extension'); ?>
<input type="hidden" name="task" value="">
<input type="hidden" name="return" value="<?php echo $input->getBase64('return'); ?>">
<input type="hidden" name="forcedLanguage" value="<?php echo $input->get('forcedLanguage', '', 'cmd'); ?>">
<?php echo HTMLHelper::_('form.token'); ?>
</div>
Expand Down

0 comments on commit 477fa5b

Please sign in to comment.