[LON-CAPA-cvs] cvs: loncom /homework chemresponse.pm /interface loncommon.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 26 May 2005 20:49:25 -0000
albertel Thu May 26 16:49:25 2005 EDT
Modified files:
/loncom/interface loncommon.pm
/loncom/homework chemresponse.pm
Log:
- I'm an idiot
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.261 loncom/interface/loncommon.pm:1.262
--- loncom/interface/loncommon.pm:1.261 Wed May 25 17:45:07 2005
+++ loncom/interface/loncommon.pm Thu May 26 16:49:23 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.261 2005/05/25 21:45:07 albertel Exp $
+# $Id: loncommon.pm,v 1.262 2005/05/26 20:49:23 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -699,7 +699,7 @@
if (target == 'open') {
var newWindow = null;
try {
- newWindow = window.open("$nothing","helpmenu","HEIGHT=$height,WIDTH=$width,resizable=yes,scrollbars=yes" )
+ newWindow = window.open($nothing,"helpmenu","HEIGHT=$height,WIDTH=$width,resizable=yes,scrollbars=yes" )
}
catch(error) {
writeHelp(caller);
Index: loncom/homework/chemresponse.pm
diff -u loncom/homework/chemresponse.pm:1.53 loncom/homework/chemresponse.pm:1.54
--- loncom/homework/chemresponse.pm:1.53 Wed May 25 17:45:07 2005
+++ loncom/homework/chemresponse.pm Thu May 26 16:49:23 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# chemical equation style response
#
-# $Id: chemresponse.pm,v 1.53 2005/05/25 21:45:07 albertel Exp $
+# $Id: chemresponse.pm,v 1.54 2005/05/26 20:49:23 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -124,7 +124,7 @@
my $nothing=&Apache::lonhtmlcommon::javascript_nothing();
my $docopen=&Apache::lonhtmlcommon::javascript_docopen();
my $result=<<CHEMINPUT;
-<input type="button" value="Draw Molecule" onclick="javascript:editor=window.open('$nothing','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($nothing,'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;
}