summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/event/index.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/scripts/event/index.phtml')
-rwxr-xr-xapplication/views/scripts/event/index.phtml20
1 files changed, 15 insertions, 5 deletions
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index f5beb9e..3f54769 100755
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -208,8 +208,16 @@ var dayClick = false;
slotMinutes: 30,
defaultEventMinutes: 20,
- /*dayClick: function( date, allDay, jsEvent, view ) {
-
+ dayClick: function( date, allDay, jsEvent, view ) {
+ /*
+ var overlapevents = $.get("/event/checkoverlapevents/eventID/" + selectedEvent.id + "/date/" + date);
+ alert(overlapevents);
+ if (overlapevents) {
+ alert(overlapevents);
+ } else alert('no overlap events');
+ */
+
+ /*
selectedDate = date;
dayClick = true;
$('#calendar').fullCalendar( 'unselect' );
@@ -247,9 +255,9 @@ var dayClick = false;
$( "#errorRightsDialog" ).dialog('open');
}
else $('#calendar').fullCalendar( 'unselect' );
-
+ */
//self.location="/event/add/evstart/" + date + "/poolID/" + $("#poolselectbox option:selected").val();
- },*/
+ },
eventMouseover: function( event, jsEvent, view ) {
evClick = true;
@@ -496,7 +504,9 @@ var dayClick = false;
}
},
- eventDragStop: function(event, jsEvent, ui, view) {
+ eventDragStop: function(event, jsEvent, ui, view, date) {
+ //var date = $('#calendar').fullCalendar('getDate');
+ alert(date);
/*
if() {
isDroppable = false;