*Story #30528.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
})
|
||||
|
||||
@@ -247,7 +247,7 @@ js::set('branch',$branchID);
|
||||
<div class="modal-body">
|
||||
<div class='input-group'>
|
||||
<?php echo html::select('products', $allProducts, '', "class='form-control chosen' id='products'");?>
|
||||
<span class='input-group-btn', id='chuangjian'><?php echo html::commonButton(html::a(helper::createLink('story', 'batchCreate', "productID=$productID&branch=$branchID&moduleID=0&story=0&execution=$execution->id", '', true), $lang->execution->batchCreateStroy, '', "class='btn-primary iframe' data-width='90%'"), "id='toStoryButton'", 'btn btn-primary');?></span>
|
||||
<span class='input-group-btn'><?php echo html::a(helper::createLink('story', 'batchCreate', "productID=$productID&branch=$branchID&moduleID=0&story=0&execution=$execution->id", '', true), $lang->execution->batchCreateStroy, '', "class='btn btn-primary iframe' data-width='90%'");?></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user