diff options
author | Sem <sembrestels@riseup.net> | 2012-11-06 06:22:00 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-11-06 06:22:00 +0100 |
commit | e2203e7aae84ec772eb61621a199be4bb7b32f0c (patch) | |
tree | 56a29ee879f7c0f9c2dcbe2d470d02a24138760c /views/default/event_calendar | |
parent | b23e75b25f8db91bebf3a748a686e5a7e8747536 (diff) | |
download | elgg-e2203e7aae84ec772eb61621a199be4bb7b32f0c.tar.gz elgg-e2203e7aae84ec772eb61621a199be4bb7b32f0c.tar.bz2 |
Removed lightbox from calendar.
Diffstat (limited to 'views/default/event_calendar')
-rw-r--r-- | views/default/event_calendar/full_calendar_view.php | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/views/default/event_calendar/full_calendar_view.php b/views/default/event_calendar/full_calendar_view.php index 44ffc70c3..1a58321b5 100644 --- a/views/default/event_calendar/full_calendar_view.php +++ b/views/default/event_calendar/full_calendar_view.php @@ -1,7 +1,5 @@ <?php elgg_load_js('elgg.full_calendar'); -elgg_load_js('lightbox'); -elgg_load_css('lightbox'); $timeformat = elgg_get_plugin_setting('timeformat', 'event_calendar') == 24 ? 'H(:mm)' : 'h(:mm)t'; @@ -13,16 +11,8 @@ var goToDateFlag = 0; handleEventClick = function(event) { if (event.url) { - if (event.is_event_poll) { - window.location.href = event.url; - } else { - if ($.fancybox) { - $.fancybox({'href': event.url}); - } else if ($.colorbox) { - $.colorbox({'href': event.url}); - } - } - return false; + window.location.href = event.url; + event.preventDefault(); } }; |