From: Claudio Sacerdoti Coen Date: Fri, 16 Mar 2001 11:36:14 +0000 (+0000) Subject: annotations now taken in account (as was for naturalLanguage) X-Git-Tag: v0_1_2~78 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=e21fd0321124a30da66d8e81352911dcfd80dd65;p=helm.git annotations now taken in account (as was for naturalLanguage) --- diff --git a/helm/on-line/javascript/control.js b/helm/on-line/javascript/control.js index 66412aa9c..e34551a7f 100644 --- a/helm/on-line/javascript/control.js +++ b/helm/on-line/javascript/control.js @@ -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 + "¶m.CICURI=" + uri + "¶m.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 + "¶m.CICURI=" + uri + "¶m.naturalLanguage=" + naturalLanguage + "¶m.annotations=" + annotations; } return url;