* Modify default value.

This commit is contained in:
tianshujie
2022-01-11 17:07:40 +08:00
parent aca23db346
commit 9faee43d47
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -479,7 +479,9 @@ class kanban extends control
if($from == 'execution') $this->loadModel('execution');
$this->view->kanban = $this->$from->getByID($kanbanID);
$kanban = $this->$from->getByID($kanbanID);
$this->view->heightType = $kanban->displayCards > 2 ? 'custom' : 'auto';
$this->display();
}
+1 -1
View File
@@ -20,7 +20,7 @@
<table class='table table-form'>
<tr>
<th><?php echo $lang->kanban->laneHeight;?></th>
<td><?php echo nl2br(html::radio('heightType', $lang->kanbanlane->heightTypeList, 'custom', "onclick='setCardCount(this.value);'"));?></td>
<td><?php echo nl2br(html::radio('heightType', $lang->kanbanlane->heightTypeList, $heightType, "onclick='setCardCount(this.value);'"));?></td>
</tr>
<tr class="hidden" id='cardBox'>
<th class='c-count'><?php echo $lang->kanban->cardCount;?></th>