X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=www%2Fquery.egw;h=5c5e0336e93d3db4f9b469b83f10a930184373d9;hb=a4571caef991e968e3c20b515490b7923306a1cf;hp=a5b874e377a07ff11308e28a7059f596db61db9e;hpb=71ad5b6272d0bc6320bea6c1ec10f5e10bbfe8ef;p=egate.git diff --git a/www/query.egw b/www/query.egw index a5b874e..5c5e033 100644 --- a/www/query.egw +++ b/www/query.egw @@ -4,7 +4,7 @@
{ -# $Id: query.egw,v 1.26 1996/01/08 08:42:15 adam Exp $ +# $Id: query.egw,v 1.37 1996/03/12 16:30:27 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,87 +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 "