diff options
Diffstat (limited to 'view/tpl/event_head.tpl')
-rwxr-xr-x | view/tpl/event_head.tpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index 11dba2f9d..77e693b07 100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -12,6 +12,14 @@ ); } + function doEventPreview() { + $('#event-edit-preview').val(1); + $.post('events',$('#event-edit-form').serialize(), function(data) { + $.colorbox({ html: data }); + }); + } + + $(document).ready(function() { $('#events-calendar').fullCalendar({ events: '{{$baseurl}}/events/json/', |