--- rat/client/Attic/code.html 2000/07/28 21:36:13 1.8
+++ rat/client/Attic/code.html 2000/07/31 15:36:22 1.9
@@ -9,7 +9,7 @@ Resource Assembly Tool
1/7,1/8,1/10,1/14,1/15,1/16,1/21,1/22,1/29,1/30,1/31,
2/2,2/3,2/10,2/12,2/13,2/14,2/15,2/17,2/18,2/19,2/20,2/21,2/22,
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
+6/7,6/8,6/9,6/10,6/12,6/15,7/4,7/26,7/28,7/31
Gerd Kortemeyer with Scott Harrison
-->
@@ -1695,10 +1695,13 @@ function graphreset() {
insertcol(-1);
objcont[0]='';
- objcont[1]='Start::false:start:res'
- objcont[2]='Finish::false:finish:res';
- objlinks[0]='';
- objlinks[1]='1:2:0';
+ if (((objcont[1]==undefined)&&(objcont[2]==undefined)) ||
+ ((objcont[1]=='')&&(objcont[2]==''))) {
+ objcont[1]='Start::false:start:res'
+ objcont[2]='Finish::false:finish:res';
+ objlinks[0]='';
+ objlinks[1]='1:2:0';
+ }
graphdef='no';
@@ -2196,6 +2199,11 @@ function finishload() {
if (data2[0]=='zscale') { zscale=1*data2[1]; }
}
}
+ if (graphdef=='yes') {
+ for (k=1;k<=maxrow;k++) {
+ if (rowcont[k]==undefined) { rowcont[k]=''; }
+ }
+ }
}
// -------------------------------------------------------------- Undo function