* Modify review code.

This commit is contained in:
xieqiyu
2022-03-09 11:17:36 +08:00
parent 1e58bc537c
commit 139ea1e04a
10 changed files with 12 additions and 41 deletions
+4 -5
View File
@@ -94,11 +94,10 @@ class task extends control
$lanePairs = $this->kanban->getLanePairsByRegion($regionID, 'task');
$laneID = isset($output['laneID']) ? $output['laneID'] : key($lanePairs);
$this->view->executionType = $execution->type;
$this->view->regionID = $regionID;
$this->view->laneID = $laneID;
$this->view->regionPairs = $regionPairs;
$this->view->lanePairs = $lanePairs;
$this->view->regionID = $regionID;
$this->view->laneID = $laneID;
$this->view->regionPairs = $regionPairs;
$this->view->lanePairs = $lanePairs;
}
/* Set menu. */
-1
View File
@@ -279,7 +279,6 @@ function loadModuleRelated()
*/
function setLane(regionID)
{
console.log(regionID);
laneLink = createLink('kanban', 'ajaxGetLanes', 'regionID=' + regionID + '&type=task&field=lane');
$.get(laneLink, function(lane)
{
+1 -1
View File
@@ -139,7 +139,7 @@
</td>
</tr>
<?php endif;?>
<?php if(isset($executionType) and $executionType == 'kanban'):?>
<?php if($execution->type == 'kanban'):?>
<tr>
<th><?php echo $lang->kanbancard->region;?></th>
<td colspan='3'>