This commit is contained in:
lanzongjun
2022-09-21 15:19:38 +08:00
parent 77af712c03
commit 13f713060c
2 changed files with 3 additions and 4 deletions
+2 -1
View File
@@ -2,7 +2,8 @@ $(function()
{
$('[name=mode]').change(function(){$("#selectDefaultProgram").toggle($(this).val() == 'lean'); });
$("#program_chosen").css('max-width','170px')
$("#program_chosen").css('max-width','170px');
$("#program_chosen").addClass('required');
$(document).on('click', '#submit', function()
{
+1 -3
View File
@@ -34,9 +34,7 @@
<?php $class = $mode == 'new' ? "class='hide'" : "";?>
<tr id="selectDefaultProgram" <?php echo $class;?>>
<td></td>
<td class='required'>
<?php echo html::select('program', $program, $this->config->global->defaultProgram, "class='form-control chosen'");?>
</td>
<td><?php echo html::select('program', $program, $this->config->global->defaultProgram, "class='form-control chosen'");?></td>
</tr>
<tr>
<td></td>