includes/clientside/static/ajax.js
changeset 133 af0f6ec48de3
parent 118 0c5efda996bf
child 170 250aeb408ed7
--- a/includes/clientside/static/ajax.js	Mon Sep 17 11:52:58 2007 -0400
+++ b/includes/clientside/static/ajax.js	Tue Sep 18 00:30:43 2007 -0400
@@ -44,6 +44,16 @@
 
 function ajaxEscape(text)
 {
+  /*
+  text = escape(text);
+  text = text.replace(/\+/g, '%2B', text);
+  */
+  text = window.encodeURIComponent(text);
+  return text;
+}
+
+function ajaxAltEscape(text)
+{
   text = escape(text);
   text = text.replace(/\+/g, '%2B', text);
   return text;