* finish task #2391.

This commit is contained in:
wangyidong
2015-11-11 14:56:37 +08:00
parent 68f9066039
commit dec039edfb
3 changed files with 48 additions and 31 deletions
+1 -1
View File
@@ -71,7 +71,7 @@
$disabled = $sonModule->type == 'task' ? '' : 'disabled="true"';
echo '<span>' . html::input("modules[id$sonModule->id]", $sonModule->name, 'class=form-control ' . $disabled) . '</span>';
}
for($i = 0; $i < TREE::NEW_CHILD_COUNT ; $i ++) echo '<span>' . html::input("modules[]", '', 'class=form-control') . '</span>';
for($i = 0; $i < TREE::NEW_CHILD_COUNT ; $i ++) echo '<span>' . html::input("modules[]", '', 'class=form-control') . html::hidden('branch[]', empty($module) ? 0 : $module->branch) . '</span>';
?>
</td>
</tr>