From 4d4264cdcd0faa510d256637e7b3d0ab9b4d4646 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Thu, 10 Aug 2006 03:07:43 -0400 Subject: [PATCH] Fixed charset problems with folder renaming --- 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