add double click on calendar day for frost theme
This commit is contained in:
parent
6731ffbfc8
commit
5e6c140fc1
1 changed files with 5 additions and 0 deletions
|
@ -159,6 +159,11 @@ $(document).ready(function() {
|
||||||
eventClick: function(calEvent, jsEvent, view) {
|
eventClick: function(calEvent, jsEvent, view) {
|
||||||
showEvent(calEvent.id);
|
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) {
|
eventRender: function(event, element, view) {
|
||||||
//console.log(view.name);
|
//console.log(view.name);
|
||||||
|
|
Loading…
Reference in a new issue