]> git.mxchange.org Git - friendica.git/commitdiff
fix events_reminder popup
authorrabuzarus <trebor@central-unit>
Thu, 21 Jan 2016 12:44:38 +0000 (13:44 +0100)
committerrabuzarus <trebor@central-unit>
Thu, 21 Jan 2016 12:44:38 +0000 (13:44 +0100)
js/main.js
view/templates/events_reminder.tpl

index 2e65ef23169cc615beba87c115354cb493072c30..d1fd3765fbc94bcfedd049aa4e99047d99eee913 100644 (file)
                        'inline' : true,
                        'transition' : 'elastic'
                });
-
+               $("a.ajax-popupbox").colorbox({
+                       'transition' : 'elastic'
+               });
 
                /* notifications template */
                var notifications_tpl= unescape($("#nav-notifications-template[rel=template]").html());
index 9aceb3f1cba5f602e83ef027228aec866a1ff059..2fcb1908d70b2e419036f30485ad819d12126808 100644 (file)
@@ -4,7 +4,7 @@
 <div id="event-wrapper" style="display: none;" ><div id="event-title">{{$event_title}}</div>
 <div id="event-title-end"></div>
 {{foreach $events as $event}}
-<div class="event-list" id="event-{{$event.id}}"> <a class="cboxElement" href="events/?id={{$event.id}}">{{$event.title}}</a> - {{$event.date}} </div>
+<div class="event-list" id="event-{{$event.id}}"> <a class="ajax-popupbox" href="events/?id={{$event.id}}">{{$event.title}}</a> - {{$event.date}} </div>
 {{/foreach}}
 </div>
 {{/if}}