[LON-CAPA-cvs] cvs: loncom /xml scripttag.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 28 Mar 2002 22:02:27 -0000


albertel		Thu Mar 28 17:02:27 2002 EDT

  Modified files:              
    /loncom/xml	scripttag.pm 
  Log:
  - editing <import> looks better
  
  
Index: loncom/xml/scripttag.pm
diff -u loncom/xml/scripttag.pm:1.68 loncom/xml/scripttag.pm:1.69
--- loncom/xml/scripttag.pm:1.68	Fri Mar 22 17:06:06 2002
+++ loncom/xml/scripttag.pm	Thu Mar 28 17:02:27 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # <script> definiton
 #
-# $Id: scripttag.pm,v 1.68 2002/03/22 22:06:06 albertel Exp $
+# $Id: scripttag.pm,v 1.69 2002/03/28 22:02:27 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -299,8 +299,11 @@
 }
 
 sub end_import {
+  my ($target,$token,$tagstack,$parstack,$parser,$safeeval,$style)=@_;
   pop(@Apache::inputtags::import);
-  return '';
+  my $result;
+  if ($target eq 'edit' ) { $result=&Apache::edit::end_table(); }
+  return $result;
 }
 
 sub start_storetc {