Diff for /rat/client/Attic/code.html between versions 1.23 and 1.31

version 1.23, 2001/03/15 14:48:44 version 1.31, 2001/05/28 19:22:45
Line 11  Resource Assembly Tool Line 11  Resource Assembly Tool
 5/2,5/3,5/4,5/5,5/6,5/8,5/9,5/13,5/18,5/20,5/22,5/24,5/25,  5/2,5/3,5/4,5/5,5/6,5/8,5/9,5/13,5/18,5/20,5/22,5/24,5/25,
 6/7,6/8,6/9,6/10,6/12,6/15,7/4,7/26,7/28,7/31,8/5,8/19,8/24,  6/7,6/8,6/9,6/10,6/12,6/15,7/4,7/26,7/28,7/31,8/5,8/19,8/24,
 01/17/01,03/03,03/05 Gerd Kortemeyer with Scott Harrison  01/17/01,03/03,03/05 Gerd Kortemeyer with Scott Harrison
   March/April 01 Scott Harrison
   04/20 Gerd Kortemeyer
   04/30 Scott Harrison
 -->  -->
   
   
Line 73  var data5=new Array(1024); Line 76  var data5=new Array(1024);
   
 var inf;  var inf;
 var srch;  var srch;
   var srchflag=-1; // 1 means currently open
                    // 0 means closed (but has been open)
                    // -1 means never yet opened/defined
   
 function testfunction() {  function testfunction() {
    inf.document.forms.resinfo.elements.t.value="ABC";     inf.document.forms.resinfo.elements.t.value="ABC";
Line 1286  function infoclear() { Line 1292  function infoclear() {
   }    }
   inf.document.writeln('</tr></table></body></html>');    inf.document.writeln('</tr></table></body></html>');
   inf.document.close();    inf.document.close();
   srchclose();    if (srchflag==1) {
       srchclose();
     }
   parent.top.focus();    parent.top.focus();
   parent.mapout.focus();    parent.mapout.focus();
   notclear=1;    notclear=1;
Line 1472  function srchclear() { Line 1479  function srchclear() {
 // ------------------------------------------------------- Closes search window  // ------------------------------------------------------- Closes search window
   
 function srchclose() {  function srchclose() {
   if (!srch.closed) {    if (srch && !srch.closed) {
       srchflag=0;
     srch.close();      srch.close();
   }    }
 }  }
Line 1481  function srchclose() { Line 1489  function srchclose() {
   
 function srchopen() {  function srchopen() {
    var options="scrollbars=1,resizable=1,menubar=0";     var options="scrollbars=1,resizable=1,menubar=0";
      srchflag=1;
    srch=open("/adm/searchcat?catalogmode=interactive","srchout",options);     srch=open("/adm/searchcat?catalogmode=interactive","srchout",options);
    srch.focus();     srch.focus();
 }  }
Line 2303  function condense() { Line 2312  function condense() {
 function load() {  function load() {
    message("Loading");     message("Loading");
    schedule('load');     schedule('load');
    checkdef();  
 }  }
   
 function finishload() {  function finishload() {
Line 2413  function wheelswitch() { Line 2421  function wheelswitch() {
 // --------------------------------------------- Checks if server frame defined  // --------------------------------------------- Checks if server frame defined
   
 function checkdef() {  function checkdef() {
    if (parent.server.document.forms.storage.output.value!=undefined) {     if (parent.flag==1) {
       srvloaded();       srvloaded();
    }     }
    if ((finishdone==0) && (tim==0)) { setTimeout('checkdef()',100); }     if ((finishdone==0) && (tim==0)) { setTimeout('checkdef()',100); }
 }  }
Line 2443  function schedule(action) { Line 2451  function schedule(action) {
    reqaction=action;     reqaction=action;
    tim=0;     tim=0;
    finishdone=0;     finishdone=0;
    canceltim=setTimeout('tim=1;',20000)     canceltim=setTimeout('tim=1;',20000);
      checkdef();
    wait();     wait();
 }  }
   
Line 2451  function schedule(action) { Line 2460  function schedule(action) {
   
 function storechange() {  function storechange() {
    var k;     var k;
      parent.flag=0;
    parent.server.document.forms.storage.submit();     parent.server.document.forms.storage.submit();
    schedule('save');     schedule('save');
 }  }
Line 2505  function leave() { Line 2515  function leave() {
    if (!inf.closed) {     if (!inf.closed) {
       inf.close();        inf.close();
    }     }
    if (!srch.closed) {     if (srch && !srch.closed) {
       srchclose();        srchclose();
    }     }
 }  }

Removed from v.1.23  
changed lines
  Added in v.1.31


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>