Index: openacs-4/packages/evaluation/www/view/task-view.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/evaluation/www/view/task-view.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/evaluation/www/view/task-view.tcl 27 Oct 2014 16:41:28 -0000 1.4 +++ openacs-4/packages/evaluation/www/view/task-view.tcl 7 Aug 2017 23:48:10 -0000 1.5 @@ -9,7 +9,7 @@ } { grade_id:naturalnum,notnull task_id:naturalnum,notnull - {return_url ""} + {return_url:localurl ""} } set package_id [ad_conn package_id] @@ -91,7 +91,7 @@ {number_of_members:naturalnum {label "[_ evaluation.Number_of_Members_]"} - {html {size 5 onChange TaskInGroups()}} + {html {size 5 id number_of_members}} {help_text "[_ evaluation.1__Individual_]"} } @@ -122,8 +122,16 @@ set due_date [template::util::date::from_ansi $due_date_ansi] set weight [lc_numeric %.2f $weight] +} -on_request { + template::add_event_listener -id "number_of_members" -event change -script {TaskInGroups();} } ad_return_template + +# Local variables: +# mode: tcl +# tcl-indent-level: 4 +# indent-tabs-mode: nil +# End: