--- loncom/html/res/adm/pages/menu.html 2001/06/16 15:08:09 1.36 +++ loncom/html/res/adm/pages/menu.html 2001/08/24 15:33:59 1.39 @@ -12,6 +12,8 @@ Jan Guy Albertelli 4/30 Ben Tyszka 5/2 Scott Harrison 5/4,5/9,5/28,5/30,6/1,6/2,6/3,6/8,6/15,6/16 Gerd Kortemeyer +7/24,8/6 Scott Harrison +8/24 Gerd Kortemeyer --> LON-CAPA Remote @@ -20,7 +22,6 @@ Jan Guy Albertelli @@ -98,8 +99,8 @@ function deactivate () { function display(utext,ltext) { var i; var ch; this.window.focus(); - if (utext==undefined) { utext=''; } - if (ltext==undefined) { ltext=''; } + if (typeof(utext)=="undefined") { utext=''; } + if (typeof(ltext)=="undefined") { ltext=''; } if ((utext=='') && (ltext=='')) { utext=statustop; ltext=statusbot; @@ -131,15 +132,15 @@ function defdis() { function switchbutton(row,col,imgsrc,texttop,textbot,action) { var idx=10*row+col; - this.document['b'+idx].src=imgpath+imgsrc; + this.document['b'+idx].src="http://"+clienthost+imgpath+imgsrc; hr[idx]=action; dt[idx]=texttop; db[idx]=textbot; -} +} function clearbut(row,col) { var idx=10*row+col; - this.document['b'+idx].src=imgpath+'empty.gif'; + this.document['b'+idx].src="http://"+clienthost+imgpath+'empty.gif'; hr[idx]='javascript:defdis();'; dt[idx]=''; db[idx]=''; @@ -347,5 +348,8 @@ function catalog_info() { +