Index: openacs-4/packages/curriculum-central/tcl/uos-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/curriculum-central/tcl/uos-procs.tcl,v diff -u -N -r1.23 -r1.24 --- openacs-4/packages/curriculum-central/tcl/uos-procs.tcl 11 Jan 2006 00:49:17 -0000 1.23 +++ openacs-4/packages/curriculum-central/tcl/uos-procs.tcl 11 Jan 2006 03:52:21 -0000 1.24 @@ -1240,9 +1240,12 @@ set user_id [ad_conn user_id] } + # Create an empty option that the user can select. The value of + # which is an empty string. + set empty_option [list [list [list [_ curriculum-central.none]] 0]] set method_list [db_list_of_lists assess_methods {}] - return $method_list + return [concat $empty_option $method_list] } @@ -1698,7 +1701,7 @@ set week_id [lindex $week 0] set course_content [lindex $week 1] set assessment_ids [lindex $week 2] - + ad_form -extend -name $form_name -form { {${content_prefix}${week_id}:text(textarea) {label "[curriculum_central::uos::get_schedule_pretty_name -week_id $week_id] [_ curriculum-central.course_content]"}