aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/event_head.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-09 15:57:22 -0800
committerfriendica <info@friendica.com>2015-02-09 15:57:22 -0800
commited810a360f9a52e1e57ea95723d46b68eb586f69 (patch)
tree40f173bb07d789002ce74c5cd20b1c7893ae7953 /view/tpl/event_head.tpl
parent0e74ebc6a9f6ef6f8348a68d9ecee98795edd56b (diff)
downloadvolse-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-xview/tpl/event_head.tpl8
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/',