');
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(':');
@@ -1926,7 +1985,7 @@ function rescompare(a,b) {
for (k=1;k