Index: openacs-4/contrib/packages/project-manager/www/process-dependency-add-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/www/Attic/process-dependency-add-edit.tcl,v diff -u -r1.3.2.7 -r1.3.2.8 --- openacs-4/contrib/packages/project-manager/www/process-dependency-add-edit.tcl 6 Mar 2004 00:29:24 -0000 1.3.2.7 +++ openacs-4/contrib/packages/project-manager/www/process-dependency-add-edit.tcl 12 Mar 2004 00:20:24 -0000 1.3.2.8 @@ -1,3 +1,13 @@ +ns_log notice it's my page! +set mypage [ns_getform] +if {[string equal "" $mypage]} { + ns_log notice no form was submitted on my page +} else { + ns_log notice the following form was submitted on my page + ns_set print $mypage +} + + ad_page_contract { Form to add task dependencies @@ -96,14 +106,16 @@ } -new_data { - set process_task_id_pass $process_task_id - set process_task_id_pass [string map {"-" " "} $process_task_id_pass] - set process_task_id $process_task_id_pass + # convert from our hack back to a list + set process_task_id [string map {"-" " "} $process_task_id] foreach tsk_id $process_task_id { db_dml delete_dependency { } } + # convert from our hack back to a list + set use_dependency [string map {"-" " "} $use_dependency] + foreach tr $use_dependency { set type_id $dependency_type($tr)