]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/searchEngine/html/index.html
New queries added:
[helm.git] / helm / searchEngine / html / index.html
index 9182d26a6f7ba1f64dbec416ed8ad39c06b5b04c..1db28890a54639ff0137427063b1998da1ff27fb 100644 (file)
@@ -485,7 +485,7 @@ function templateambigpdq1_listauri(document,elenco)
 function templateambigpdq1_invia(document,top,elenco,ident)
        {
        vecchiavlds=top.vlds.length;
-       stringa=top.topurl+"/searchPattern?term="+top.terminecic;
+       stringa=top.topurl+"/"+top.current_query+"?term="+top.terminecic;
        stringa=stringa+"&aliases="+top.listaliases;
        stringa=stringa+"&choices=";
         var choices = "";
@@ -550,7 +550,7 @@ function templateambigpdq2_listainterpretazioni(document,elenco,labels)
 
 function templateambigpdq2_invia(document,elenco)
        {
-       stringa=top.topurl+"/searchPattern?term="+top.terminecic;
+       stringa=top.topurl+"/"+top.current_query+"?term="+top.terminecic;
        stringa=stringa+"&aliases="+(top.listaliases==""?"":"%20");
        controllo=stringa.length;
        for (j=0;j<elenco.length;j++)