From 9c0fa2361097c68f21a8bb4665a535fb2dbe95c1 Mon Sep 17 00:00:00 2001 From: jwangen Date: Wed, 2 Oct 2002 09:12:50 +0000 Subject: Modified the javascript so it doesn't use escape anymore. This was messing up the output of non-English characters because they were encoded but not decoded by Javascript. The fix was to urlencode after addslashes and then do the reverse in event.php. --- functions/event.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'functions/event.js') diff --git a/functions/event.js b/functions/event.js index 2b78312..00ee211 100644 --- a/functions/event.js +++ b/functions/event.js @@ -5,11 +5,11 @@ var windowW = 450; var windowH = 275; - var url = "event.php?event="+escape(event)+ - "&calendar_name="+escape(calendarname)+ - "&start="+escape(start)+ - "&end="+escape(end)+ - "&description="+escape(description); + var url = "event.php?event="+event+ + "&calendar_name="+calendarname+ + "&start="+start+ + "&end="+end+ + "&description="+description; options = "scrollbars=no"+",width="+windowW+",height="+windowH; -- cgit v1.2.3