add double click on calendar day for frost theme

This commit is contained in:
rabuzarus 2015-05-23 20:02:57 +02:00
parent 6731ffbfc8
commit 5e6c140fc1
1 changed files with 5 additions and 0 deletions

View File

@ -159,6 +159,11 @@ $(document).ready(function() {
eventClick: function(calEvent, jsEvent, view) {
showEvent(calEvent.id);
},
loading: function(isLoading, view) {
if(!isLoading) {
$('td.fc-day').dblclick(function() { window.location.href='/events/new?start='+$(this).data('date'); });
}
},
eventRender: function(event, element, view) {
//console.log(view.name);