aboutsummaryrefslogtreecommitdiffstats
path: root/functions/event.js
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2003-11-20 05:18:38 +0000
committerChad Little <clittle@users.sourceforge.net>2003-11-20 05:18:38 +0000
commitb941c90ce2d8f9a1248425087063257aacd615bc (patch)
treeeb7512b970951143c189b7753d4154c52ead5f46 /functions/event.js
parent4fb8c0746e8ab44a536be48107d7f56b00fa69a6 (diff)
downloadphpicalendar-b941c90ce2d8f9a1248425087063257aacd615bc.tar.gz
phpicalendar-b941c90ce2d8f9a1248425087063257aacd615bc.tar.bz2
phpicalendar-b941c90ce2d8f9a1248425087063257aacd615bc.zip
Added URL support to popup, re-wrote event.php for less code.
Diffstat (limited to 'functions/event.js')
-rw-r--r--functions/event.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/functions/event.js b/functions/event.js
index d04938c..adee336 100644
--- a/functions/event.js
+++ b/functions/event.js
@@ -13,6 +13,7 @@ function openEventWindow(num) {
form.elements.location.value = data.location;
form.elements.organizer.value = data.organizer;
form.elements.attendee.value = data.attendee;
+ form.elements.url.value = data.url;
// open a new window
var w = window.open('', 'Popup', 'scrollbars=yes,width=460,height=275');
@@ -20,7 +21,7 @@ function openEventWindow(num) {
form.submit();
}
-function EventData(event, cal, start, end, description, status, location, organizer, attendee) {
+function EventData(event, cal, start, end, description, status, location, organizer, attendee, url) {
this.event = event;
this.cal = cal;
this.start = start;
@@ -30,6 +31,7 @@ function EventData(event, cal, start, end, description, status, location, organi
this.location = location;
this.organizer = organizer;
this.attendee = attendee;
+ this.url = url;
}
document.popup_data = new Array();

© 2014-2024 Faster IT GmbH | imprint | privacy policy