From d823ee707d41b7cad97cb8cac73fc04d4b76b760 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 13 Mar 2007 14:18:22 +0000 Subject: bugfix --- itjs/it.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'itjs/it.js') 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, ")"); } -- cgit v1.2.3