--- loncom/html/res/adm/pages/menu.html 2000/10/04 23:01:52 1.9
+++ loncom/html/res/adm/pages/menu.html 2000/10/05 15:31:42 1.10
@@ -29,13 +29,9 @@ function windowcheck() {
}
function logout () {
- if ((
- clientwindow.window.location.href!="http://"+clienthost+"/adm/logout"
- ) && (
- clientwindow.window.location.href!="http://"+clienthost+"/adm/authenticate"
- ))
- {
- windowcheck();
+ windowcheck();
+ if (clientwindow.status!='MenuControl:nologout')
+ {
clientwindow.window.location.href="http://"+clienthost+"/adm/logout";
}
}
@@ -74,17 +70,17 @@ function setstatus(tp,bt) {
}
function go(url) {
+ windowcheck();
this.document['led'].src="ledsend.gif";
if (url!='') {
- windowcheck();
clientwindow.window.location.href="http://"+clienthost+url;
}
}
function gopost(url,postdata) {
+ windowcheck();
this.document['led'].src="ledsend.gif";
if (url!='') {
- windowcheck();
this.document.server.action="http://"+clienthost+url;
this.document.server.postdata.value=postdata;
this.document.server.submit();
@@ -219,7 +215,7 @@ function edit_bookmarks() {