[LON-CAPA-cvs] cvs: loncom /publisher loncfile.pm

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Wed, 24 Sep 2008 17:30:21 -0000


raeburn		Wed Sep 24 13:30:21 2008 EDT

  Modified files:              
    /loncom/publisher	loncfile.pm 
  Log:
  Name of form in opener (IMS import or Testbank import) was changed from dataForm to info.
  
  
Index: loncom/publisher/loncfile.pm
diff -u loncom/publisher/loncfile.pm:1.89 loncom/publisher/loncfile.pm:1.90
--- loncom/publisher/loncfile.pm:1.89	Tue May 27 13:33:28 2008
+++ loncom/publisher/loncfile.pm	Wed Sep 24 13:30:18 2008
@@ -9,7 +9,7 @@
 #  and displays a page showing the results of the action.
 #
 #
-# $Id: loncfile.pm,v 1.89 2008/05/27 17:33:28 www Exp $
+# $Id: loncfile.pm,v 1.90 2008/09/24 17:30:18 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1341,10 +1341,9 @@
 	$js = qq|
 <script type="text/javascript">
 function writeDone() {
-    var winName = window.opener
     window.focus();
-    winName.document.dataForm.newdir.value = "$newdirname"
-    setTimeout("self.close()",10000)
+    opener.document.info.newdir.value = "$newdirname";
+    setTimeout("self.close()",10000);
 }
   </script>
 |;