diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2005-09-07 06:08:02 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2005-09-07 06:08:02 +0000 |
commit | 6eabeaeb9ff95f4f227c66e5293c0afdf0ac0ca4 (patch) | |
tree | 56ac1f5ec08712c6636c8a58f76ddba5e8447dd1 /functions/event.js | |
parent | 5c46da23340dd0b15510f982d1ded7b4c8ef1aab (diff) | |
download | phpicalendar-6eabeaeb9ff95f4f227c66e5293c0afdf0ac0ca4.tar.gz phpicalendar-6eabeaeb9ff95f4f227c66e5293c0afdf0ac0ca4.tar.bz2 phpicalendar-6eabeaeb9ff95f4f227c66e5293c0afdf0ac0ca4.zip |
adjust date_functions.php, event.js, header.tpl to allow event popups to work with cpath multiple calendar directories
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 9f9f613..0072bd3 100644 --- a/functions/event.js +++ b/functions/event.js @@ -7,6 +7,7 @@ function openEventWindow(num) { form.elements.date.value = data.date; form.elements.time.value = data.time; form.elements.uid.value = data.uid; + form.elements.cpath.value = data.cpath; // open a new window var w = window.open('', 'Popup', 'scrollbars=yes,width=460,height=275'); @@ -14,10 +15,11 @@ function openEventWindow(num) { form.submit(); } -function EventData(date, time, uid) { +function EventData(date, time, uid, cpath) { this.date = date; this.time = time; this.uid = uid; + this.cpath = cpath; } function openTodoInfo(vtodo_array) { |