');
+ url=data1[1];
+ urlparts=url.split('.');
+ mime=urlparts[urlparts.length-1];
+ if (mime==undefined) { mime=''; }
+ if (mime!='') {
+ parent.mapout.document.write
+ (' ');
+ }
+ parent.mapout.document.write(''+k+' | ');
data2=obj[i].split('&');
parent.mapout.document.write('');
+
if (data1[3]=='start') {
parent.mapout.document.writeln('Start | ');
}
@@ -2312,7 +2439,6 @@ function condense() {
function load() {
message("Loading");
schedule('load');
- checkdef();
}
function finishload() {
@@ -2339,6 +2465,13 @@ function finishload() {
if (data2[0]=='obj') { obj[data2[1]]=data2[2]; }
if (data2[0]=='objcont') { objcont[data2[1]]=data2[2]; }
if (data2[0]=='objlinks') { objlinks[data2[1]]=data2[2]; }
+ if (data2[0]=='objparms') {
+ if (objparms[data2[1]]==undefined) {
+ objparms[data2[1]]=data2[2];
+ } else {
+ objparms[data2[1]]+=':'+data2[2];
+ }
+ }
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]; }
@@ -2357,7 +2490,12 @@ function finishload() {
// -------------------------------------------------------------- Parameter set
function setparms(resid) {
- alert('Called setparms for '+resid);
+ var options="scrollbars=1,resizable=1,menubar=0";
+ parmflag=1;
+ data1=objcont[resid].split(':');
+ parm=open("/adm/ratparms?url="+data1[1]+"&parms="+objparms[resid]+
+ "&resid="+resid,"parmout",options);
+ parm.focus();
}
// -------------------------------------------------------------- Undo function
@@ -2422,12 +2560,8 @@ 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();
}
if ((finishdone==0) && (tim==0)) { setTimeout('checkdef()',100); }
}
@@ -2456,14 +2590,26 @@ function schedule(action) {
reqaction=action;
tim=0;
finishdone=0;
- canceltim=setTimeout('tim=1;',20000)
+ canceltim=setTimeout('tim=1;',20000);
+ checkdef();
wait();
}
+// ----------------------------------------------------- launch indexer browser
+
+function groupsearch() {
+ alert('not yet implemented');
+}
+
+function groupimport() {
+ idxcheck('groupimport');
+}
+
// -------------------------------------------------------------- Store changes
function storechange() {
var k;
+ parent.flag=0;
parent.server.document.forms.storage.submit();
schedule('save');
}
@@ -2521,6 +2667,9 @@ function leave() {
if (srch && !srch.closed) {
srchclose();
}
+ if (idx && !idx.closed) {
+ srchclose();
+ }
}
@@ -2535,11 +2684,8 @@ function leave() {
Revert
Undo
Redo
+Group Search
+Group Import
Store
|