[LON-CAPA-cvs] cvs: loncom /html/res/adm/pages/reactionresponse reaction_editor.html
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 30 Jun 2003 20:57:16 -0000
albertel Mon Jun 30 16:57:16 2003 EDT
Modified files:
/loncom/html/res/adm/pages/reactionresponse reaction_editor.html
Log:
- closes window now
Index: loncom/html/res/adm/pages/reactionresponse/reaction_editor.html
diff -u loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.1 loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.2
--- loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.1 Mon Jun 30 16:39:59 2003
+++ loncom/html/res/adm/pages/reactionresponse/reaction_editor.html Mon Jun 30 16:57:16 2003
@@ -1,7 +1,7 @@
<!-- Chemical reaction editor developed by Guy Ashkenazi, guy@fh.huji.ac.il-->
<!--
- $Id: reaction_editor.html,v 1.1 2003/06/30 20:39:59 albertel Exp $
+ $Id: reaction_editor.html,v 1.2 2003/06/30 20:57:16 albertel Exp $
Copyright Michigan State University Board of Trustees
@@ -212,7 +212,8 @@
while (parent.opener.document.lonhomework.elements[i].name != name)
i++;
parent.opener.document.lonhomework.elements[i].value = reaction;
- parent.opener.document.lonhomework.submit();
+// parent.opener.document.lonhomework.submit();
+ parent.window.close();
}
}
@@ -235,7 +236,7 @@
</script>
</head>
-<body bgcolor="#ffffff" onLoad = "problem = getCookie(parent.opener.document,'problem'); document.form.submit.value='Submit reaction for Part #' + problem; parent.document.title='LON-CAPA#'+problem+' - Reaction Editor';">
+<body bgcolor="#ffffff" onLoad = "problem = getCookie(parent.opener.document,'problem'); document.form.submit.value='Insert reaction for Part #' + problem; parent.document.title='LON-CAPA#'+problem+' - Reaction Editor';">
<center>
<hr />
<form name="form">