summaryrefslogtreecommitdiff
path: root/itjs/it.js
diff options
context:
space:
mode:
authorUrban Müller2007-03-13 14:18:22 +0000
committerUrban Müller2007-03-13 14:18:22 +0000
commitd823ee707d41b7cad97cb8cac73fc04d4b76b760 (patch)
treefcd5782a6b3dbb7b9ed8faa2a847993e8105d8dd /itjs/it.js
parent06c23df086d1ffd40cca4a8798d257763bb3958f (diff)
downloaditools-d823ee707d41b7cad97cb8cac73fc04d4b76b760.tar.gz
itools-d823ee707d41b7cad97cb8cac73fc04d4b76b760.tar.bz2
itools-d823ee707d41b7cad97cb8cac73fc04d4b76b760.zip
bugfix
Diffstat (limited to 'itjs/it.js')
-rw-r--r--itjs/it.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/itjs/it.js b/itjs/it.js
index 29f64c0..5afdb52 100644
--- a/itjs/it.js
+++ b/itjs/it.js
@@ -163,7 +163,7 @@ function it_set(dst, src)
*/
function it_url_encode(str)
{
- var result = window.aaencodeURIComponent ? encodeURIComponent(str) : escape(str).replace(/\+/g, "%2B");
+ var result = window.encodeURIComponent ? encodeURIComponent(str) : escape(str).replace(/\+/g, "%2B");
return result.replace(/%20/gi, "+").replace(/%2C/gi, ",").replace(/%28/gi, "(").replace(/%29/gi, ")");
}