Index: openacs-4/contrib/packages/project-manager/www/process-task-add-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/www/Attic/process-task-add-edit.tcl,v diff -u -r1.5 -r1.6 --- openacs-4/contrib/packages/project-manager/www/process-task-add-edit.tcl 8 Oct 2003 20:16:11 -0000 1.5 +++ openacs-4/contrib/packages/project-manager/www/process-task-add-edit.tcl 10 Oct 2003 22:51:04 -0000 1.6 @@ -96,6 +96,14 @@ set estimated_hours_work_v($i) $estimated_hours_work set estimated_hours_work_min_v($i) $estimated_hours_work_min set estimated_hours_work_max_v($i) $estimated_hours_work_max + + ns_log Notice "Dt: $dependency_type" + + if {[exists_and_not_null dependency_type]} { + set checked_v($i) "checked" + } else { + set checked_v($i) "" + } lappend process_tasks $pti incr i @@ -115,12 +123,13 @@ set estimated_hours_work_v($i) "" set estimated_hours_work_min_v($i) "" set estimated_hours_work_max_v($i) "" + set checked_v($i) "" } } -template::multirow create num process_task_id one_line description work work_min work_max +template::multirow create num process_task_id one_line description work work_min work_max checked for {set i 1} {$i <= $number} {incr i} { @@ -132,7 +141,7 @@ ns_log Notice "process_task_id_tmp $process_task_id_tmp ($process_task_id)" - template::multirow append num $process_task_id_tmp $one_line_v($i) $description_v($i) $estimated_hours_work_v($i) $estimated_hours_work_min_v($i) $estimated_hours_work_max_v($i) + template::multirow append num $process_task_id_tmp $one_line_v($i) $description_v($i) $estimated_hours_work_v($i) $estimated_hours_work_min_v($i) $estimated_hours_work_max_v($i) $checked_v($i) }