[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
www
lon-capa-cvs@mail.lon-capa.org
Mon, 13 Nov 2006 15:03:01 -0000
www Mon Nov 13 10:03:01 2006 EDT
Modified files:
/loncom/interface londocs.pm
Log:
Parameter setting works again.
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.249 loncom/interface/londocs.pm:1.250
--- loncom/interface/londocs.pm:1.249 Sun Nov 12 20:57:57 2006
+++ loncom/interface/londocs.pm Mon Nov 13 10:02:58 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.249 2006/11/13 01:57:57 www Exp $
+# $Id: londocs.pm,v 1.250 2006/11/13 15:02:58 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1183,6 +1183,12 @@
&LONCAPA::map::delparameter($idx,'parameter_encrypturl');
&remember_parms($idx,'encrypturl','del');
}
+# store the changed version
+ ($errtext,$fatal)=&storemap($coursenum,$coursedom,$folder.'.'.$container);
+ if ($fatal) {
+ $r->print('<p><font color="red">'.$errtext.'</font></p>');
+ return;
+ }
}
if ($env{'form.newpos'}) {