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

albertel lon-capa-cvs@mail.lon-capa.org
Sun, 05 Jun 2005 07:28:33 -0000


albertel		Sun Jun  5 03:28:33 2005 EDT

  Modified files:              
    /loncom/xml	scripttag.pm 
  Log:
  - raise the scitpvars window up BUG#358
  
  
Index: loncom/xml/scripttag.pm
diff -u loncom/xml/scripttag.pm:1.126 loncom/xml/scripttag.pm:1.127
--- loncom/xml/scripttag.pm:1.126	Thu Apr  7 02:56:27 2005
+++ loncom/xml/scripttag.pm	Sun Jun  5 03:28:31 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # <script> definiton
 #
-# $Id: scripttag.pm,v 1.126 2005/04/07 06:56:27 albertel Exp $
+# $Id: scripttag.pm,v 1.127 2005/06/05 07:28:31 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -126,7 +126,7 @@
 	    $listing=~s/\n/\\n/g;
 	    $listing=~s/\r/\\r/g;
 	    $result.=$listing;
-	    $result.= "</pre></body></html>');newWindow.document.close();}
+	    $result.= "</pre></body></html>');newWindow.document.close();newWindow.focus()}
 // ]]>
 </script><a href=\"javascript:LONCAPA_scriptvars_".$uname."_".$udom."_$Apache::lonxml::curdepth();void(0);\">Script Vars</a><br />";
 	}