From 3ea0e3202a73eb7efcbf0b825582a6d3504658aa Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Fri, 01 Sep 2006 09:43:14 -0400 Subject: [PATCH] Quota display as image --- 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