diff options
author | jwangen <jwangen> | 2002-10-02 09:12:50 +0000 |
---|---|---|
committer | jwangen <jwangen> | 2002-10-02 09:12:50 +0000 |
commit | 9c0fa2361097c68f21a8bb4665a535fb2dbe95c1 (patch) | |
tree | ddce1e46ba55c5f76154798e2f821d5f46002eb7 /functions/event.js | |
parent | aa8a68042db789233107cd27f1f5b2da29834ecb (diff) | |
download | phpicalendar-9c0fa2361097c68f21a8bb4665a535fb2dbe95c1.tar.gz phpicalendar-9c0fa2361097c68f21a8bb4665a535fb2dbe95c1.tar.bz2 phpicalendar-9c0fa2361097c68f21a8bb4665a535fb2dbe95c1.zip |
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.
Diffstat (limited to 'functions/event.js')
-rw-r--r-- | functions/event.js | 10 |
1 files changed, 5 insertions, 5 deletions
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; |