aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xGradeBook_lib.tcl5
1 files changed, 4 insertions, 1 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index 829d6b5..53e904d 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -622,7 +622,7 @@ proc UpdateGradesCategores { db permission_list user } {
proc EditGradesCategories { db permission_list user } {
global script_name
- lappend column_list CategoryName CategoryWeight NeedsTotal
+ lappend column_list CategoryName CategoryWeight NumberToDrop NeedsTotal
set sql_column_list [join $column_list ","]
puts {<div class="change_categories">}
puts {<div class="categories_table">}
@@ -657,6 +657,9 @@ proc EditGradesCategories { db permission_list user } {
}
puts "<th><input type=\"checkbox\" name=\"$v(CategoryName)_needs_total\" value=\"\" $checkbox_flag></th>"
}
+ "NumberToDrop" {
+ puts "<td><input type=\"text\" name=\"$v(CategoryName)_NumberToDrop\" value=\"$v(NumberToDrop)\" size=5></td>"
+ }
default {
puts -nonewline "<td>$v($index)</td>"
}