aboutsummaryrefslogtreecommitdiff
path: root/GradeBook_lib.tcl
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2013-12-04 16:22:27 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2013-12-04 16:22:27 -0500
commitd1331bd091adbf9ec926dc35a5a0d6c3bed46170 (patch)
tree04ac7a36a79eb125bb6cc869b95b9833f419ecee /GradeBook_lib.tcl
parent2b8795832d4a85fc5264353dd0ede8a6229b72fa (diff)
downloadGradeBook-d1331bd091adbf9ec926dc35a5a0d6c3bed46170.tar.gz
GradeBook-d1331bd091adbf9ec926dc35a5a0d6c3bed46170.zip
Delete non web function does not call weight recalculation
This is done in the higher level function
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-xGradeBook_lib.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index b01ce5e..2b7c184 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -1686,14 +1686,14 @@ proc RenameColumnNonWeb { oldcolumnname newcolumnname } {
proc DeleteColumnNonWeb { columnname } {
DeleteColumnFromTable GradesTable $columnname
-
- calculteWeightedTotals
}
proc DeleteColumn { permission_list user } {
global script_name
set columnname [::ncgi::value columnname {}]
DeleteColumnNonWeb $columnname
+
+ calculteWeightedTotals
}
proc AddColumnNonWeb { columnname2add column_category maxpointpossible {sql_type {text}} } {