From 23511a047257387ccecaf98968f8748edf17ee7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=8D=8E=E4=BC=9F?= Date: Tue, 1 Mar 2022 15:37:05 +0800 Subject: [PATCH] *Story #30528. --- module/execution/control.php | 1 - module/execution/js/kanban.js | 2 +- module/execution/view/kanban.html.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/module/execution/control.php b/module/execution/control.php index 076758ae0d..b27a3f18ca 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2070,7 +2070,6 @@ class execution extends control $this->view->branchID = $branchID; $this->view->projectID = $this->loadModel('task')->getProjectID($execution->id); $this->view->allProducts = $this->loadModel('product')->getProductPairsByProject($this->view->projectID, 'noclosed'); - a(count($this->view->allProducts)); $this->view->allPlans = $allPlans; $this->view->kanbanData = $kanbanData; $this->view->executionActions = $executionActions; diff --git a/module/execution/js/kanban.js b/module/execution/js/kanban.js index 3b1b17f29a..21b104034a 100644 --- a/module/execution/js/kanban.js +++ b/module/execution/js/kanban.js @@ -3,7 +3,7 @@ $(function() $('#products').change(function() { var selectProductID = $('#products').val(); - var attr = '/index.php?m=story&f=batchCreate&ProductID=' + selectProductID + '&branch=' + branch + '&moduleID=0&story=0&execution=' + execution + '&onlybody=yes'; + var attr = ('story', 'batchCreate', selectProductID + '&branch=' + branch + '&moduleID=0&story=0&execution=' + execution, '', true); $('#batchCreateStory').children().children().attr('href',attr); }); }) diff --git a/module/execution/view/kanban.html.php b/module/execution/view/kanban.html.php index 5eaa24dd42..81d71505f1 100644 --- a/module/execution/view/kanban.html.php +++ b/module/execution/view/kanban.html.php @@ -247,7 +247,7 @@ js::set('branch',$branchID);