');
inf.document.close();
inf.focus();
}
// ---------------------------------------------------- Save into hidden fields
-
function save() {
var k;
if (graphdef=='yes') {
@@ -1884,7 +1945,6 @@ function save() {
}
// ----------------------------------------------- Reset all layout information
-
function graphreset() {
var k;
@@ -1907,7 +1967,7 @@ function graphreset() {
objcont[0]='';
objlinks[0]='';
- if (((objcont[1]==undefined)&&(objcont[2]==undefined)) ||
+ if (((typeof(objcont[1])=="undefined")&&(typeof(objcont[2])=="undefined")) ||
((objcont[1]=='')&&(objcont[2]==''))) {
objcont[1]='Start::false:start:res'
objcont[2]='Finish::false:finish:res';
@@ -1917,7 +1977,6 @@ function graphreset() {
}
// --------------------- Compare two resources with each other for "straighten"
-
function rescompare(a,b) {
data1=a.split(':');
data2=b.split(':');
@@ -1934,7 +1993,6 @@ function rescompare(a,b) {
}
// -------------------------------------------- Draw the table instead of graph
-
function tabledraw() {
var objsorted=new Array();
var robjs=new Array();
@@ -1946,9 +2004,13 @@ function tabledraw() {
var ck;
var cck;
var condid;
+ var url='';
+ var mime='';
+ var ext='';
+ var urlparts=new Array;
var sortstr=sortobjs();
insrestab(1,-1,-1,'');
- if ((sortstr!='') && (sortstr!=undefined)) {
+ if ((sortstr!='') && (typeof(sortstr)!="undefined")) {
objsorted=sortstr.split('&');
for (k=0;k