web/data/cubicweb.htmlhelpers.js
changeset 9259 68cde7431c2c
parent 8238 087bb529035c
child 9379 b0b1148b6963
--- a/web/data/cubicweb.htmlhelpers.js	Mon Aug 26 11:36:19 2013 +0200
+++ b/web/data/cubicweb.htmlhelpers.js	Mon Aug 26 16:16:22 2013 +0200
@@ -78,10 +78,10 @@
         // generate a list of couple key=value if key is multivalued
         if (cw.utils.isArrayLike(value)) {
             for (var i = 0; i < value.length; i++) {
-                chunks.push(key + '=' + urlEncode(value[i]));
+                chunks.push(key + '=' + cw.urlEncode(value[i]));
             }
         } else {
-            chunks.push(key + '=' + urlEncode(value));
+            chunks.push(key + '=' + cw.urlEncode(value));
         }
     }
     return chunks.join('&');