X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Fquery.egw;h=f17cc585b848eee5b3c11a853c74c394cc9f3b14;hb=a61ad0378b93e99e362a1d92c33d701dbf103eba;hp=cad8e7a3e527c2fd5120b664d6099113bbc6c19f;hpb=fff045d159e76bb8bb856fd7d2e6d34c1498d5a5;p=egate.git diff --git a/www/query.egw b/www/query.egw index cad8e7a..f17cc58 100644 --- a/www/query.egw +++ b/www/query.egw @@ -4,7 +4,7 @@
{ -# $Id: query.egw,v 1.27 1996/01/12 10:03:17 adam Exp $ +# $Id: query.egw,v 1.38 1996/03/13 14:07:30 adam Exp $ if {[info commands saveState] == ""} { source z39util.tcl @@ -24,8 +24,8 @@ proc ok-response {} { global nextSetNo global hist - set host [lindex $sessionParms 0] - set initSet [lindex $sessionParms 1] + set initSet [lindex $sessionParms 0] + set host [lindex $sessionParms 1] set scanLine [lindex $sessionParms 2] set scanTerm [lrange $sessionParms 3 end] @@ -33,80 +33,90 @@ proc ok-response {} { set nextSetNo 1 set setNo 1 } - if {[catch {set oldHost [z39 connect]}]} { + if {[catch {set oldHost [z390 connect]}]} { set oldHost "" } - set hist($setNo,host) $host - set hist($setNo,idAuthentication) [lindex $targets($host) 3] + set hist($setNo,0,host) $host + set hist($setNo,0,idAuthentication) [lindex $targets($host) 3] - if {[catch {z39 failback fail-response}]} { - ir z39 - } + mkAssoc z390 $host - html "