diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2013-12-04 17:39:15 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2013-12-04 17:39:15 -0500 |
commit | 6e61c1289d980a1ac71e6efb4153c1145b1bfee2 (patch) | |
tree | 48a1760ca5a925301cbe1eb3fcb95f761c926425 | |
parent | e27bab6419d901594002e9cd98caf1334e5cebc1 (diff) | |
download | GradeBook-6e61c1289d980a1ac71e6efb4153c1145b1bfee2.tar.gz GradeBook-6e61c1289d980a1ac71e6efb4153c1145b1bfee2.zip |
update grades does not recalculate grades weights if cancel is selected
-rwxr-xr-x | GradeBook_lib.tcl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl index 12d702c..572430e 100755 --- a/GradeBook_lib.tcl +++ b/GradeBook_lib.tcl @@ -1589,10 +1589,11 @@ proc UpdateGrades { permission_list user } { if { $err } { htmlErrorMsg $errStat dbg "the following error happen: $errStat" msg_level_critical - } + } else { + calculteWeightedTotals + } } - calculteWeightedTotals } proc ChangeGrades { permission_list user } { |