[LON-CAPA-cvs] cvs: loncom /homework chemresponse.pm
www
lon-capa-cvs@mail.lon-capa.org
Wed, 25 May 2005 14:33:03 -0000
www Wed May 25 10:33:03 2005 EDT
Modified files:
/loncom/homework chemresponse.pm
Log:
How did that EVER work?
Index: loncom/homework/chemresponse.pm
diff -u loncom/homework/chemresponse.pm:1.51 loncom/homework/chemresponse.pm:1.52
--- loncom/homework/chemresponse.pm:1.51 Fri Apr 22 10:10:47 2005
+++ loncom/homework/chemresponse.pm Wed May 25 10:33:00 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# chemical equation style response
#
-# $Id: chemresponse.pm,v 1.51 2005/04/22 14:10:47 albertel Exp $
+# $Id: chemresponse.pm,v 1.52 2005/05/25 14:33:00 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -123,7 +123,7 @@
$body=~s/\n/ /g;
my $docopen=&Apache::lonhtmlcommon::javascript_docopen();
my $result=<<CHEMINPUT;
-<input type="button" value="Draw Molecule" onclick="javascript:editor=window.open('/rat/adm/empty.html','jmeedit','width=500,height=500,menubar=yes,scrollbars=no,resizable=yes');editor.$docopen;editor.document.write('$body');editor.document.close();editor.focus()" />
+<input type="button" value="Draw Molecule" onclick="javascript:editor=window.open('/adm/rat/empty.html','jmeedit','width=500,height=500,menubar=yes,scrollbars=no,resizable=yes');editor.$docopen;editor.document.write('$body');editor.document.close();editor.focus()" />
CHEMINPUT
return $result;
}