[LON-CAPA-cvs] cvs: loncom /interface/spreadsheet Spreadsheet.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Sun, 15 May 2005 04:55:33 -0000
albertel Sun May 15 00:55:33 2005 EDT
Modified files:
/loncom/interface/spreadsheet Spreadsheet.pm
Log:
- err need to set filename in new
Index: loncom/interface/spreadsheet/Spreadsheet.pm
diff -u loncom/interface/spreadsheet/Spreadsheet.pm:1.49 loncom/interface/spreadsheet/Spreadsheet.pm:1.50
--- loncom/interface/spreadsheet/Spreadsheet.pm:1.49 Sun May 15 00:49:42 2005
+++ loncom/interface/spreadsheet/Spreadsheet.pm Sun May 15 00:55:33 2005
@@ -1,5 +1,5 @@
#
-# $Id: Spreadsheet.pm,v 1.49 2005/05/15 04:49:42 albertel Exp $
+# $Id: Spreadsheet.pm,v 1.50 2005/05/15 04:55:33 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -127,6 +127,7 @@
};
#
bless($self,$class);
+ $self->filename($filename);
#
return $self;
}
@@ -972,7 +973,6 @@
if (!$self->{'loaded'}) {
$self->{'loaded'}=1;
# Load in the spreadsheet definition
- $self->filename($filename);
if (exists($env{'form.workcopy'}) &&
$self->{'type'} eq $env{'form.workcopy'}) {
$self->load_tmp();