From e21fd0321124a30da66d8e81352911dcfd80dd65 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Fri, 16 Mar 2001 11:36:14 +0000 Subject: [PATCH] annotations now taken in account (as was for naturalLanguage) --- helm/on-line/javascript/control.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- 2.39.2