aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2013-12-04 17:39:15 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2013-12-04 17:39:15 -0500
commit6e61c1289d980a1ac71e6efb4153c1145b1bfee2 (patch)
tree48a1760ca5a925301cbe1eb3fcb95f761c926425
parente27bab6419d901594002e9cd98caf1334e5cebc1 (diff)
downloadGradeBook-6e61c1289d980a1ac71e6efb4153c1145b1bfee2.tar.gz
GradeBook-6e61c1289d980a1ac71e6efb4153c1145b1bfee2.zip
update grades does not recalculate grades weights if cancel is selected
-rwxr-xr-xGradeBook_lib.tcl5
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 } {