Index: openacs-4/packages/evaluation/www/task-view.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/evaluation/www/task-view.tcl,v diff -u -r1.16.2.2 -r1.16.2.3 --- openacs-4/packages/evaluation/www/task-view.tcl 20 May 2016 20:30:12 -0000 1.16.2.2 +++ openacs-4/packages/evaluation/www/task-view.tcl 8 Nov 2016 12:55:07 -0000 1.16.2.3 @@ -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_]"} } @@ -117,11 +117,13 @@ } } -edit_request { - db_1row task_info { *SQL* } + db_1row task_info {} 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 Index: openacs-4/packages/evaluation/www/admin/tasks/task-add-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/evaluation/www/admin/tasks/task-add-edit.tcl,v diff -u -r1.34.2.2 -r1.34.2.3 --- openacs-4/packages/evaluation/www/admin/tasks/task-add-edit.tcl 20 May 2016 20:30:12 -0000 1.34.2.2 +++ openacs-4/packages/evaluation/www/admin/tasks/task-add-edit.tcl 8 Nov 2016 12:55:07 -0000 1.34.2.3 @@ -235,7 +235,7 @@ {number_of_members:naturalnum {label "[_ evaluation.Number_of_Members_]"} {value "1"} - {html {size 5 onChange TaskInGroups()}} + {html {size 5 id number_of_members}} {help_text "[_ evaluation.1__Individual_]"} {after_html {
[_ evaluation.lt_Check_this_if_you_wan_1]
}} } @@ -562,6 +562,9 @@ } } + +} -on_request { + template::add_event_listener -id "number_of_members" -event change -script {TaskInGroups();} } ad_return_template 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.2.2 -r1.4.2.3 --- openacs-4/packages/evaluation/www/view/task-view.tcl 20 May 2016 20:30:12 -0000 1.4.2.2 +++ openacs-4/packages/evaluation/www/view/task-view.tcl 8 Nov 2016 12:55:07 -0000 1.4.2.3 @@ -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,6 +122,8 @@ 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