Browse Source

add double click on calendar day for frost theme

pull/1596/head
rabuzarus 6 years ago
parent
commit
5e6c140fc1
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      view/theme/frost/js/theme.js

+ 5
- 0
view/theme/frost/js/theme.js 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);


Loading…
Cancel
Save