]> matita.cs.unibo.it Git - helm.git/commitdiff
URI may now have #
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 9 May 2001 14:40:58 +0000 (14:40 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 9 May 2001 14:40:58 +0000 (14:40 +0000)
helm/on-line/javascript/utils.js

index feab364de235d77bd30d79ca59974bd9b8c8ae5c..1b637dcf484555435f449e4625f4a699f85662e0 100644 (file)
@@ -21,6 +21,7 @@ function setParam(url,name,value)
 function extractParam(url,name)
 {
   var search = url.split("?")[1];
+  search = search.split("#")[0];
   var args = search.split("&");
   var value = "???";