[LON-CAPA-cvs] cvs: loncom /xml scripttag.pm
www
www@source.lon-capa.org
Wed, 02 Jun 2010 21:27:50 -0000
www Wed Jun 2 21:27:50 2010 EDT
Modified files:
/loncom/xml scripttag.pm
Log:
We should store the importmode in the metadata
Index: loncom/xml/scripttag.pm
diff -u loncom/xml/scripttag.pm:1.155 loncom/xml/scripttag.pm:1.156
--- loncom/xml/scripttag.pm:1.155 Wed May 26 12:22:54 2010
+++ loncom/xml/scripttag.pm Wed Jun 2 21:27:50 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# <script> definiton
#
-# $Id: scripttag.pm,v 1.155 2010/05/26 12:22:54 www Exp $
+# $Id: scripttag.pm,v 1.156 2010/06/02 21:27:50 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -440,7 +440,7 @@
if ($id) {
$result.='" id="'.$id;
}
- $result.='">';
+ $result.='" importmode="'.$token->[2]{'importmode'}.'">';
$result.=$bodytext;
$result.='</import>';
}