[LON-CAPA-cvs] cvs: loncom /html/res/adm/pages/reactionresponse reaction_editor.html

raeburn raeburn at source.lon-capa.org
Mon Sep 21 10:08:57 EDT 2015


raeburn		Mon Sep 21 14:08:57 2015 EDT

  Modified files:              
    /loncom/html/res/adm/pages/reactionresponse	reaction_editor.html 
  Log:
  - Use of javascript funtion getCookie() was discontnued in rev 1.3
  
  
Index: loncom/html/res/adm/pages/reactionresponse/reaction_editor.html
diff -u loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.14 loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.15
--- loncom/html/res/adm/pages/reactionresponse/reaction_editor.html:1.14	Mon Sep 21 14:04:56 2015
+++ loncom/html/res/adm/pages/reactionresponse/reaction_editor.html	Mon Sep 21 14:08:57 2015
@@ -1,7 +1,7 @@
 <!-- Chemical reaction editor developed by Guy Ashkenazi, guy at fh.huji.ac.il-->
 
 <!--
- $Id: reaction_editor.html,v 1.14 2015/09/21 14:04:56 raeburn Exp $
+ $Id: reaction_editor.html,v 1.15 2015/09/21 14:08:57 raeburn Exp $
 
  Copyright Michigan State University Board of Trustees
 
@@ -235,22 +235,6 @@
   parent.document.title='LON-CAPA - Reaction Editor';
 }
 
-function getCookie(document,name) {
-  var dc = document.cookie;
-  var prefix = name + "=";
-  var begin = dc.indexOf("; " + prefix);
-  if (begin == -1) {
-    begin = dc.indexOf(prefix);
-    if (begin != 0) return null;
-  } else
-    begin += 2;
-  var end = document.cookie.indexOf(";", begin);
-  if (end == -1)
-    end = dc.length;
-  return unescape(dc.substring(begin + prefix.length, end));
-}
-
-
 </script>
 </head>
 




More information about the LON-CAPA-cvs mailing list