* Adjust code style.
This commit is contained in:
@@ -12,9 +12,9 @@ $(document).ready(function()
|
||||
if($(this).val() == 1) var hourPoint = storyPoint;
|
||||
if($(this).val() == 2) var hourPoint = functionPoint;
|
||||
|
||||
convertTitle = convertRelationTitle.replace('%s', hourPoint);
|
||||
convertTips = convertRelationTips.replace(/%s/g, hourPoint);
|
||||
submitTips = saveTips.replace(/%s/g, hourPoint);
|
||||
var convertTitle = convertRelationTitle.replace('%s', hourPoint);
|
||||
var convertTips = convertRelationTips.replace(/%s/g, hourPoint);
|
||||
var submitTips = saveTips.replace(/%s/g, hourPoint);
|
||||
|
||||
$('#title').text(convertTitle);
|
||||
$('#tips').text(convertTips);
|
||||
|
||||
@@ -1554,6 +1554,7 @@ class productModel extends model
|
||||
->where('project')->eq($projectID)
|
||||
->andWhere('product')->eq($productID)
|
||||
->exec();
|
||||
|
||||
$newProducts = $this->dao->select('*')->from(TABLE_PROJECTPRODUCT)->where('project')->eq($projectID)->fetchPairs('product','product');
|
||||
$this->loadModel('action')->create('project', $projectID, 'Managed', '', join(',', $newProducts));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user