Merge pull request #2621 from rabuzarus/1206-events-template

frio - events - fix double click on date
This commit is contained in:
Michael Vogel 2016-06-18 21:32:07 +02:00 committed by GitHub
commit d0033ca5cf
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
},
loading: function(isLoading, view) {
if(!isLoading) {
$('td.fc-day').dblclick(function() { window.location.href='/events/new?start='+$(this).data('date'); });
$('td.fc-day').dblclick(function() { addToModal('/events/new?start='+$(this).data('date')); });
}
},