diff options
author | thomascube <thomas@roundcube.net> | 2006-08-10 07:07:43 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-08-10 07:07:43 +0000 |
commit | 4d4264cdcd0faa510d256637e7b3d0ab9b4d4646 (patch) | |
tree | 9d96fe7384579e76eccfa6f24e68445417b39d50 /program/js/common.js | |
parent | c0e9128e6c4b60ca5f283570cec366229f946435 (diff) |
Fixed charset problems with folder renaming
Diffstat (limited to 'program/js/common.js')
-rw-r--r-- | 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 7ac3dc807..b0dc5564a 100644 --- a/program/js/common.js +++ b/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) { |