[LON-CAPA-cvs] cvs: loncom /homework chemresponse.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 03 Jul 2006 01:16:04 -0000


albertel		Sun Jul  2 21:16:04 2006 EDT

  Modified files:              
    /loncom/homework	chemresponse.pm 
  Log:
  - making reactionresponse work again
  
  
Index: loncom/homework/chemresponse.pm
diff -u loncom/homework/chemresponse.pm:1.67 loncom/homework/chemresponse.pm:1.68
--- loncom/homework/chemresponse.pm:1.67	Tue Jun 27 10:15:26 2006
+++ loncom/homework/chemresponse.pm	Sun Jul  2 21:16:04 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # chemical equation style response
 #
-# $Id: chemresponse.pm,v 1.67 2006/06/27 14:15:26 albertel Exp $
+# $Id: chemresponse.pm,v 1.68 2006/07/03 01:16:04 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -414,7 +414,7 @@
 				       {'frameset'    => 1,
 					'js_ready'    => 1,
 					'add_entries' => {
-					    'rows'   => "30%",
+					    'rows'   => "30%,*",
 					    'border' => "0",}},);
     my $end_page = 
 	&Apache::loncommon::end_page({'frameset' => 1,
@@ -426,6 +426,7 @@
 	editor=window.open('','','width=500,height=270,scrollbars=no,resizable=yes');
 	editor.$docopen;
 	editor.document.writeln('$start_page <frame src="/res/adm/pages/reactionresponse/reaction_viewer.html?inhibitmenu=yes" name="viewer" scrolling="no" />  <frame src="/res/adm/pages/reactionresponse/reaction_editor.html?inhibitmenu=yes&reaction=$reaction_es&id=$id_es&field=$field_es" name="editor" scrolling="no" /> $end_page');
+	editor.document.close();
     }
 // -->
 </script>