]> matita.cs.unibo.it Git - helm.git/commitdiff
annotations now taken in account (as was for naturalLanguage)
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 16 Mar 2001 11:36:14 +0000 (11:36 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 16 Mar 2001 11:36:14 +0000 (11:36 +0000)
helm/on-line/javascript/control.js

index 66412aa9c6af06441b07913a71567e36ed21d553..e34551a7fb7ba7e2465d79f08d5ed37700a382a0 100644 (file)
@@ -130,7 +130,11 @@ function makeURL(type,uri,cicflags,typesflags)
     if (typesflags != "NO" || type == "theory") {
        naturalLanguage = mode_list[3];
     }
-    url = processorURL + "apply?xmluri=" + escape(getterURL + "get?uri=" + uri) + "&keys=" + keys + "&param.CICURI=" + uri + "&param.naturalLanguage=" + naturalLanguage;
+    var annotations = cicflags;
+    if (cicflags != "NO" || type == "theory") {
+       annotations = mode_list[4];
+    }
+    url = processorURL + "apply?xmluri=" + escape(getterURL + "get?uri=" + uri) + "&keys=" + keys + "&param.CICURI=" + uri + "&param.naturalLanguage=" + naturalLanguage + "&param.annotations=" + annotations;
   }
 
   return url;