[LON-CAPA-cvs] cvs: loncom /html/res/adm/pages menu.html
matthew
lon-capa-cvs@mail.lon-capa.org
Mon, 18 Mar 2002 14:25:49 -0000
matthew Mon Mar 18 09:25:49 2002 EDT
Modified files:
/loncom/html/res/adm/pages menu.html
Log:
Stupid changes to remove javascript warnings. This will help me maintain
my sanity as I try to debug javascript.
Index: loncom/html/res/adm/pages/menu.html
diff -u loncom/html/res/adm/pages/menu.html:1.43 loncom/html/res/adm/pages/menu.html:1.44
--- loncom/html/res/adm/pages/menu.html:1.43 Fri Feb 15 14:53:09 2002
+++ loncom/html/res/adm/pages/menu.html Mon Mar 18 09:25:49 2002
@@ -4,7 +4,7 @@
Remote Control
//
-// $Id: menu.html,v 1.43 2002/02/15 19:53:09 matthew Exp $
+// $Id: menu.html,v 1.44 2002/03/18 14:25:49 matthew Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -53,11 +53,11 @@
<script type="text/javascript">
<!--
-statustop='';
-statusbot='';
-active=0;
+var statustop = '';
+var statusbot = '';
+var active = 0;
-imgpath='/res/adm/pages/';
+var imgpath='/res/adm/pages/';
var currentURL='';
var currentStale=1;
@@ -79,12 +79,21 @@
// -1 means never yet opened/defined
///////////////////////////////////////
-hr=new Array;
-db=new Array;
-dt=new Array;
+var hr = new Array;
+var db = new Array;
+var dt = new Array;
+
+for (var i=1;i<=3;i++) {
+ for (var j=1;j<=10;j++) {
+ var index = 10*j+i;
+ hr[index]=null;
+ db[index]=null;
+ dt[index]=null;
+ }
+}
-clienthost=window.location.host;
-clientwindow=opener;
+var clienthost=window.location.host;
+var clientwindow=opener;
function windowcheck() {
if (clientwindow.closed) {