summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/common.js
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-08-10 07:07:43 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-08-10 07:07:43 +0000
commitb4380c08374a6ad23bfe8807b232a2d2153c880a (patch)
treed0b36cf25e20cb1460ef50a66642c036f1023614 /roundcubemail/program/js/common.js
parentc49455c3eeae051c75540ad59829849102d36864 (diff)
Fixed charset problems with folder renaming
git-svn-id: https://svn.roundcube.net/trunk@305 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/common.js')
-rw-r--r--roundcubemail/program/js/common.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/roundcubemail/program/js/common.js b/roundcubemail/program/js/common.js
index 7ac3dc807..b0dc5564a 100644
--- a/roundcubemail/program/js/common.js
+++ b/roundcubemail/program/js/common.js
@@ -343,6 +343,13 @@ function find_in_array()
}
+// 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)
{