[LON-CAPA-cvs] cvs: loncom /interface/spreadsheet studentcalc.pm

raeburn lon-capa-cvs@mail.lon-capa.org
Mon, 02 Oct 2006 17:04:34 -0000


raeburn		Mon Oct  2 13:04:34 2006 EDT

  Modified files:              
    /loncom/interface/spreadsheet	studentcalc.pm 
  Log:
  Bug 4296.  Values entered in cells in student sheet were not being stored in tmp file.
  
  
Index: loncom/interface/spreadsheet/studentcalc.pm
diff -u loncom/interface/spreadsheet/studentcalc.pm:1.40 loncom/interface/spreadsheet/studentcalc.pm:1.41
--- loncom/interface/spreadsheet/studentcalc.pm:1.40	Tue May 30 08:46:26 2006
+++ loncom/interface/spreadsheet/studentcalc.pm	Mon Oct  2 13:04:33 2006
@@ -1,5 +1,5 @@
 #
-# $Id: studentcalc.pm,v 1.40 2006/05/30 12:46:26 www Exp $
+# $Id: studentcalc.pm,v 1.41 2006/10/02 17:04:33 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -400,6 +400,8 @@
         $self->set_formula($cell,$formula);
     } elsif ($cell !~ /^([A-z](\d+)|template_[A-z])$/) {
         return;
+    } else {
+        $self->set_formula($cell,$formula);
     }
     $self->rebuild_stats();
     return;