summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/event/index.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/scripts/event/index.phtml')
-rw-r--r--application/views/scripts/event/index.phtml5
1 files changed, 4 insertions, 1 deletions
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index b71011e..2ca3194 100644
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -101,6 +101,7 @@ var lastview;
eventClick: function( event, jsEvent, view ) {
$('#calendar').dblclick(function() { self.location = "/event/edit/eventID/" + event.id;});
+ $('#calendar').unbind(event);
$(document).keydown(function (e) {
if (e.keyCode == 8 || e.keyCode == 46) {
@@ -133,7 +134,9 @@ var lastview;
if (!confirm("Are you sure to add an Event from " + startDate + " to " + endDate + " ?")) {
$('#calendar').fullCalendar( 'unselect' );
}else {
- self.location="/event/add/start/" + startDate + "/end/" + endDate;
+ //var startDate = $.fullCalendar.formatDate(startDate, 'MM/dd/yyyy hh:mm');
+ //var endDate = $.fullCalendar.formatDate(endDate, 'MM/dd/yyyy hh:mm');
+ self.location="/event/add/evstart/" + startDate + "/evend/" + endDate;
}
},