X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fon-line%2Fjavascript%2Fcontrol.js;h=6734d4a133f5e6fc9ab60961b87fae73995bfc3a;hb=4720c6af414c4a834a994fdb404fda2d0c04fc03;hp=633ddbef40de1de58d981cd481b37dde2dc748b1;hpb=7205aee7f92f2a3a41c6e1bc9bd81ec6d6104ee3;p=helm.git diff --git a/helm/on-line/javascript/control.js b/helm/on-line/javascript/control.js index 633ddbef4..6734d4a13 100644 --- a/helm/on-line/javascript/control.js +++ b/helm/on-line/javascript/control.js @@ -250,7 +250,7 @@ function makeURL(type,uri,cicflags,typesflags) keys = getTheoryKeys()+ "¶m.keys=" + getCICMathMLKeys() + "¶m.thkeys=" + getTheoryKeys() + - "¶m.embedkeys=" + escape(d_c,TC1,G,C2,L) + + "¶m.embedkeys=" + escape("d_c,TC1,G,C2,L") + "¶m.processorURL=" + escape(processorURL) + "¶m.getterURL=" + escape(getterURL) + "¶m.draw_graphURL=" + escape(draw_graphURL) + @@ -264,11 +264,11 @@ function makeURL(type,uri,cicflags,typesflags) "¶m.thinterfaceURL=" + escape(thinterfaceURL); } - var naturalLanguage = typesflags; + var naturalLanguage = typesflags.toLowerCase(); if (typesflags != "NO" || type == "theory") { naturalLanguage = mode_list[3]; } - var annotations = cicflags; + var annotations = cicflags.toLowerCase(); if (cicflags != "NO" || type == "theory") { annotations = mode_list[4]; }