Index: openacs-4/packages/assessment/www/asm-admin/item-edit-mc.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/asm-admin/item-edit-mc.tcl,v diff -u -r1.9.2.2 -r1.9.2.3 --- openacs-4/packages/assessment/www/asm-admin/item-edit-mc.tcl 5 Feb 2007 14:15:04 -0000 1.9.2.2 +++ openacs-4/packages/assessment/www/asm-admin/item-edit-mc.tcl 14 Aug 2007 15:01:09 -0000 1.9.2.3 @@ -42,7 +42,7 @@ ad_form -name item_edit_mc -action item-edit-mc -export { assessment_id section_id num_choices } -form { {as_item_id:key} - {title:text {label "[_ assessment.Title]"} {html {size 80 maxlength 1000}} {help_text "[_ assessment.mc_Title_help]"}} + {title:text,optional {label "[_ assessment.Title]"} {html {size 80 maxlength 1000}} {help_text "[_ assessment.mc_Title_help]"}} } if {$type > 1} { @@ -142,9 +142,9 @@ as::assessment::check::copy_item_checks -assessment_id \$assessment_id -section_id \$new_section_id -as_item_id \$as_item_id -new_item_id \$new_item_id as::section::update_section_in_assessment\ - -old_section_id $section_id \ - -new_section_id $new_section_id \ - -new_assessment_rev_id $new_assessment_rev_id + -old_section_id \$section_id \ + -new_section_id \$new_section_id \ + -new_assessment_rev_id \$new_assessment_rev_id db_dml update_item_in_section {} db_dml update_item_type {}