diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2006-04-05 04:43:59 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2006-04-05 04:43:59 +0000 |
commit | e3ce63d1406a343d7295995d3f2fbfad9e12b608 (patch) | |
tree | aaa37dd4e120e10b2efa84f5cc3e008f91eddcec /functions/event.js | |
parent | 8bac82c79a8792f8b6540e55303fd566b36c0e8e (diff) | |
download | phpicalendar-e3ce63d1406a343d7295995d3f2fbfad9e12b608.tar.gz phpicalendar-e3ce63d1406a343d7295995d3f2fbfad9e12b608.tar.bz2 phpicalendar-e3ce63d1406a343d7295995d3f2fbfad9e12b608.zip |
changes to event popup so that reparsing not needed
Diffstat (limited to 'functions/event.js')
-rw-r--r-- | functions/event.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/functions/event.js b/functions/event.js index 0072bd3..6895626 100644 --- a/functions/event.js +++ b/functions/event.js @@ -8,6 +8,7 @@ function openEventWindow(num) { form.elements.time.value = data.time; form.elements.uid.value = data.uid; form.elements.cpath.value = data.cpath; + form.elements.event_data.value = data.event_data; // open a new window var w = window.open('', 'Popup', 'scrollbars=yes,width=460,height=275'); @@ -15,11 +16,12 @@ function openEventWindow(num) { form.submit(); } -function EventData(date, time, uid, cpath) { +function EventData(date, time, uid, cpath, event_data) { this.date = date; this.time = time; this.uid = uid; this.cpath = cpath; + this.event_data = event_data; } function openTodoInfo(vtodo_array) { |