--- rat/client/Attic/code.html 2001/05/01 15:23:40 1.30 +++ rat/client/Attic/code.html 2001/05/28 19:22:45 1.31 @@ -2312,7 +2312,6 @@ function condense() { function load() { message("Loading"); schedule('load'); - checkdef(); } function finishload() { @@ -2422,13 +2421,6 @@ function wheelswitch() { // --------------------------------------------- Checks if server frame defined function checkdef() { -// if (parent.server!=undefined) { -// if (parent.server.document!=undefined) { -// if (parent.server.document.forms.storage.output.value!=undefined) { -// srvloaded(); -// } -// } -// } if (parent.flag==1) { srvloaded(); } @@ -2459,7 +2451,8 @@ function schedule(action) { reqaction=action; tim=0; finishdone=0; - canceltim=setTimeout('tim=1;',20000) + canceltim=setTimeout('tim=1;',20000); + checkdef(); wait(); } @@ -2467,6 +2460,7 @@ function schedule(action) { function storechange() { var k; + parent.flag=0; parent.server.document.forms.storage.submit(); schedule('save'); }