--- loncom/html/res/adm/pages/menu.html 2001/06/02 16:07:19 1.31 +++ loncom/html/res/adm/pages/menu.html 2001/06/02 19:55:45 1.32 @@ -85,38 +85,9 @@ function logout () { } } -function checkurl () { - if (currentURL) { - if (currentStale) { - clearbut(2,1); - clearbut(2,3); - clearbut(8,1); - clearbut(8,2); - clearbut(8,3); - switchbutton(3,1,'reload.gif','return','location','go(currentURL)'); - } else { - clearbut(3,1); - switchbutton(8,1,'eval.gif','evaluate','this','gopost("/adm/evaluate",currentURL)'); - switchbutton(8,2,'fdbk.gif','feedback','on this','gopost("/adm/feedback",currentURL)'); - switchbutton(8,3,'prt.gif','prepare','printout','gopost("/adm/printout",currentURL)'); - switchbutton(2,1,'back.gif','backward','','gopost("/adm/flip","back:"+currentURL)'); - switchbutton(2,3,'forw.gif','forward','','gopost("/adm/flip","forward:"+currentURL)'); - } - } else { - clearbut(2,1); - clearbut(2,3); - clearbut(3,1); - clearbut(8,1); - clearbut(8,2); - clearbut(8,3); - } - setTimeout('checkurl();',500); -} - function activate () { opener.menuloaded=1; setTimeout('active=1;',2000); - setTimeout('checkurl();',1500); } function deactivate () {