diff options
author | friendica <info@friendica.com> | 2015-02-09 15:57:22 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-02-09 15:57:22 -0800 |
commit | ed810a360f9a52e1e57ea95723d46b68eb586f69 (patch) | |
tree | 40f173bb07d789002ce74c5cd20b1c7893ae7953 /view/tpl/event_head.tpl | |
parent | 0e74ebc6a9f6ef6f8348a68d9ecee98795edd56b (diff) | |
download | volse-hubzilla-ed810a360f9a52e1e57ea95723d46b68eb586f69.tar.gz volse-hubzilla-ed810a360f9a52e1e57ea95723d46b68eb586f69.tar.bz2 volse-hubzilla-ed810a360f9a52e1e57ea95723d46b68eb586f69.zip |
event form - provide map ability for location field and add preview ability
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/', |