[LON-CAPA-cvs] cvs: loncom /xml lonplot.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Wed, 07 Jan 2004 18:16:02 -0000
matthew Wed Jan 7 13:16:02 2004 EDT
Modified files:
/loncom/xml lonplot.pm
Log:
Fixes bug 2523: Editing a plot which did not have a plottype attribute set
leads to the first item in the list (was "Polar", now is "Cartesian") being
selected. This should go in 1.1.x.
Index: loncom/xml/lonplot.pm
diff -u loncom/xml/lonplot.pm:1.93 loncom/xml/lonplot.pm:1.94
--- loncom/xml/lonplot.pm:1.93 Thu Oct 30 15:52:54 2003
+++ loncom/xml/lonplot.pm Wed Jan 7 13:16:02 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Dynamic plot
#
-# $Id: lonplot.pm,v 1.93 2003/10/30 20:52:54 albertel Exp $
+# $Id: lonplot.pm,v 1.94 2004/01/07 18:16:02 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -244,7 +244,7 @@
test => sub {$_[0]=~/^(Polar|Cartesian)$/},
description => 'Plot type:',
edit_type => 'choice',
- choices => ['Polar','Cartesian']
+ choices => ['Cartesian','Polar']
},
);