--- rat/client/Attic/code.html 2000/06/28 03:41:48 1.5
+++ rat/client/Attic/code.html 2000/07/08 11:23:36 1.7
@@ -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
+6/7,6/8,6/9,6/10,6/12,6/15,7/4
Gerd Kortemeyer with Scott Harrison
-->
@@ -47,6 +47,7 @@ var notclear=0;
var linkmode=0;
var lastinfo='';
var graphdef='no';
+var mode='';
var mainrun=0;
var tablemode=0;
var mostrecent=0;
@@ -1152,7 +1153,7 @@ function draw () {
parent.mapout.document.writeln(
'
');
- for (kr=0;kr<=maxrow;kr++) {
+ for (kr=0;kr<=maxrow;kr++) {
message("Generating Output Row "+kr);
drawrow(rrow[kr]);
}
@@ -1618,7 +1619,7 @@ function save() {
var k;
if (graphdef=='yes') {
parent.server.document.forms.storage.output.value='graphdef<:>yes';
- for (k=0;kobj<:>'+k+'<:>'+obj[k];
}
@@ -2172,6 +2173,7 @@ function load() {
if (data2[0]=='rowcont') { rowcont[data2[1]]=data2[2]; }
if (data2[0]=='row') { row[data2[1]]=1*data2[2]; }
if (data2[0]=='col') { col[data2[1]]=1*data2[2]; }
+ if (data2[0]=='mode') { mode=data2[1]; }
if (data2[0]=='tablemode') { tablemode=1*data2[1]; }
if (data2[0]=='zscale') { zscale=1*data2[1]; }
}
@@ -2223,8 +2225,9 @@ function revert() {
function storechange() {
parent.server.document.forms.storage.submit();
+ load();
+ draw();
stored=1;
- alert("Stored changes");
}
// ---------------------------------------------------------------- Toggle Mode