From 6c76c91951d259f59b2b7a42b8fe895dcc0ef21b Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 23 Aug 2006 17:36:37 -0400
Subject: [PATCH] Updated Polish, Portuguese, Latvian, Chinese and Japanese localization

---
 program/js/common.js |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/program/js/common.js b/program/js/common.js
index 7ac3dc8..b0dc556 100644
--- a/program/js/common.js
+++ b/program/js/common.js
@@ -343,6 +343,13 @@
   }
 
 
+// make a string URL safe
+function urlencode(str)
+{
+  return window.encodeURI ? encodeURI(str).replace(/&/g, '%26') : escape(str);
+}
+
+
 // get any type of html objects by id/name
 function rcube_find_object(id, d)
   {

--
Gitblit v1.9.1