Merge pull request #2621 from rabuzarus/1206-events-template
frio - events - fix double click on date
This commit is contained in:
commit
d0033ca5cf
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@
|
||||||
},
|
},
|
||||||
loading: function(isLoading, view) {
|
loading: function(isLoading, view) {
|
||||||
if(!isLoading) {
|
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')); });
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue