Skip to content

Commit

Permalink
Fixed issue #16704: Inheritance not working when importing themes cre…
Browse files Browse the repository at this point in the history
…ated for LS3.x (#1611)

The "theme options" page has multiple forms, and the right one was not being sent.
  • Loading branch information
gabrieljenik committed Oct 5, 2020
1 parent aa8a5dd commit b7b4378
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion application/views/admin/themeoptions/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<!-- Tab panes -->
<?php /* Begin theme option form */ ?>
<form class='form action_update_options_string_form' action=''>
<?php echo TbHtml::submitButton($model->isNewRecord ? gT('Create') : gT('Save'), [ 'id' => 'theme-options--submit', 'class'=> 'hidden']); ?>
<?php echo TbHtml::submitButton($model->isNewRecord ? gT('Create') : gT('Save'), [ 'id' => 'theme-options--submit', 'class'=> 'hidden action_update_options_string_button']); ?>
<div class="tab-content">
<?php
/***
Expand Down Expand Up @@ -270,6 +270,9 @@
<?php echo $form->error($model,'packages_to_load'); ?>
</div>
</div>
<div class="row buttons hidden">
<?php echo TbHtml::submitButton($model->isNewRecord ? gT('Create') : gT('Save'), ['class'=> 'btn-success']); ?>
</div>

<?php $this->endWidget(); ?>
</div>
Expand Down

0 comments on commit b7b4378

Please sign in to comment.