* code for task#1374.

This commit is contained in:
zhujinyong
2013-06-17 09:21:38 +00:00
parent d0b136f43e
commit 20e39052f8
2 changed files with 4 additions and 11 deletions
+2 -9
View File
@@ -51,15 +51,8 @@
</td>
<td id='moduleBox'>
<?php
if($allProject and $syncProject)
{
echo html::select('allProject', $allProject, '', 'onchange=syncProject(this)');
echo html::select('projectModule', $projectModules, '');
echo html::commonButton($lang->tree->syncFromProject, "id='copyModule' onclick='syncModule($currentProject, \"task\")'");
}
echo '<br />';
$maxOrder = 0;
if(!$syncProject and !$productID)
if($newModule and !$productID)
{
foreach($products as $id => $product)
{
@@ -85,7 +78,7 @@
<td></td>
<td colspan='2'>
<?php
if($productID)
if(!$newModule or $productID)
{
echo html::submitButton() . html::backButton();
echo html::hidden('parentModuleID', $currentModuleID);