Skip to content

Commit

Permalink
Ensure grid columns select hides when normal flow selected.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimisgold authored and zerocrates committed Feb 8, 2024
1 parent f0e29cb commit 0f139e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/asset/js/site-page-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@
// Prepare page layout for use.
const preparePageLayout = function() {
const layoutSelect = $('#page-layout-select');
const gridColumnsSelect = $('#page-layout-grid-columns-select');
const gridColumnsSelect = $('#page-layout-grid-columns-label');
const gridColumnGapInput = $('#page-layout-grid-column-gap-input');
const gridRowGapInput = $('#page-layout-grid-row-gap-input');
const blockGridControls = $('.block-page-layout-grid-controls');
Expand Down
2 changes: 1 addition & 1 deletion application/view/omeka/site-admin/page/edit.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ $form->prepare();
<?php endforeach; ?>
</select>
</label>
<label id="total-columns-label">
<label id="page-layout-grid-columns-label">
<?php echo $translate('Columns'); ?>
<select name="o:layout_data[grid_columns]" id="page-layout-grid-columns-select" data-page-layout-grid-columns="<?php echo $escape($pageLayoutGridColumns); ?>">
<?php foreach ($pageLayoutGridColumnsOptions as $key => $value): ?>
Expand Down

0 comments on commit 0f139e6

Please sign in to comment.