Skip to content

Commit dcde671

Browse files
committed
Hide SAT/Orbit rows after submitting form with band != SAT
1 parent aba5834 commit dcde671

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

application/views/awards/dxcc/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
</select>
123123
</div>
124124
</div>
125-
<div id="satrow" class="mb-3 row">
125+
<div id="satrow" class="mb-3 row" <?php if ($this->input->post('band') != 'SAT' && $this->input->post('band') != 'All') echo "style=\"display: none\""; ?>>
126126
<?php if (count($sats_available) != 0) { ?>
127127
<label class="col-md-2 control-label" id="satslabel" for="distplot_sats"><?php echo lang('gridsquares_sat'); ?></label>
128128
<div class="col-md-2">
@@ -139,7 +139,7 @@
139139
<input id="sats" type="hidden" value="All"></input>
140140
<?php } ?>
141141
</div>
142-
<div id="orbitrow" class="mb-3 row">
142+
<div id="orbitrow" class="mb-3 row" <?php if ($this->input->post('band') != 'SAT' && $this->input->post('band') != 'All') echo "style=\"display: none\""; ?>>
143143
<label class="col-md-2 control-label" id="orbitslabel" for="orbits"><?php echo lang('gridsquares_orbit'); ?></label>
144144
<div class="col-md-2">
145145
<select class="form-select form-select-sm" id="orbits" name="orbits">

0 commit comments

Comments
 (0)