aboutsummaryrefslogtreecommitdiff
path: root/GradeBook_lib.tcl
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2013-12-05 22:34:14 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2013-12-05 22:34:14 -0500
commit3e91cd5c708b80c6c769bc0d8c8e9949e838ccfd (patch)
tree5eb53410481e5bcac71594a7a45ba37a5e6d37e6 /GradeBook_lib.tcl
parent91d4dd27a5d0fdf3413ed9ed4d4c6d3fc17ff9ce (diff)
downloadGradeBook-3e91cd5c708b80c6c769bc0d8c8e9949e838ccfd.tar.gz
GradeBook-3e91cd5c708b80c6c769bc0d8c8e9949e838ccfd.zip
if column moved to deleted category it become hidden from studentsv2.1.1
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-xGradeBook_lib.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index a227bdf..7f8bac4 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -1738,6 +1738,7 @@ proc DeleteColumn { permission_list user } {
set old_column_category [SelectColValue4User $deleted_columnname _Col_Category_]
set category_deleted deleted
UpdateColValue4UserNameNonWeb $deleted_columnname _Col_Category_ $category_deleted
+ UpdateColValue4UserNameNonWeb $deleted_columnname _Visible_To_Students_ false
calculteWeightedTotals
}