From b9abd94c63abc9eeb4806eaa03ba377a519252de Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Thu, 8 Sep 2011 14:28:20 +0200 Subject: some changes --- application/views/scripts/event/index.phtml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'application/views/scripts/event') diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml index 473bbc5..b71011e 100644 --- a/application/views/scripts/event/index.phtml +++ b/application/views/scripts/event/index.phtml @@ -112,7 +112,11 @@ var lastview; } }); return false; + /* + * + * TO DO: Selection eines Events per Klick sichtbar machen + * if(event.color == 'red') { event.color = 'rgb(112,0,0)'; }else if(event.color == 'green') { @@ -129,7 +133,7 @@ var lastview; if (!confirm("Are you sure to add an Event from " + startDate + " to " + endDate + " ?")) { $('#calendar').fullCalendar( 'unselect' ); }else { - self.location="/event/add/evstart/" + startDate + "/evend/" + endDate; + self.location="/event/add/start/" + startDate + "/end/" + endDate; } }, -- cgit v1.2.3-55-g7522