Hello, after upgrading to v 5.0 i have problems with showing qtip in coledar.
When i look to source i dont se any JS call for qtip.
Can you help me?
<script name="newsCalendar_193" type="text/javascript">
--
| if(!DatedNews.eventscal.hasOwnProperty("newsCalendarEvent_")){
| DatedNews.eventscal["newsCalendarEvent_193"] = [];
| }
|
| (function($) {
| var events = [
| eventsCache = []
| ];
| var fillEventscal = function(events){
| if(events != undefined) {
| for (var i = 0; i < events.length; i++) {
| if(!DatedNews.eventscal["newsCalendarEvent_193"].hasOwnProperty('Event_' + events[i]['id'] )){
| DatedNews.eventscal["newsCalendarEvent_193"]['Event_' + events[i]['id']] = [];
| DatedNews.eventscal["newsCalendarEvent_193"]['Event_' + events[i]['id']]['events'] = [];
| DatedNews.eventscal["newsCalendarEvent_193"]['Event_' + events[i]['id']]['events'][0] = events[i];
| }
| }
| }
|
| };
| var newsUids = ",11,6,5,4";
| var newsCalendar_193 = $('#calendar.calendar_193').fullCalendar({
| header: {left: "title", center: ", ", right: ", prev, next, today"},
| footer: {left: "", center: "", right: ""},
| defaultView: "month",
|
|
| allDaySlot:0,
| locale: "sl",
|
| buttonText: {today:'Today',month:'Month',week:'Week',agendaWeek:'Agenda Week',day:'Day',agendaDay:'Agenda Day',listYear:'List Year',listMonth:'List Month',listWeek:'List Week',listDay:'List Day'},
|
| height: "auto",
| theme : 'true',
| buttonIcons: true,
| weekNumbers: false,
| timezone : 'UTC',
| viewRender: function(){
| if($('.fc-slats').length > 0) {
| var bottomContainerPos = $('#calendar')[0].getBoundingClientRect().bottom;
| var bottomTablePos = $('.fc-slats')[0].getBoundingClientRect().bottom;
| var bottomDifference = bottomContainerPos - bottomTablePos ;
| var currentHeight = $( ".fc-slats > table" ).css( "height");
| var newHeight = parseInt(currentHeight) + bottomDifference;
| $( ".fc-slats > table" ).css( "height", newHeight );
| }
| },
| events: function (startdate, enddate, timezone, callback) {
|
| /*loading events via ajax as JSON string and store it in an array
| * so next time the allready seen month doesnt need to be reloaded again
| */
| if (events.eventsCache && events.eventsCache[startdate.format() + "-" + enddate.format()]){
| DatedNews.newsCalendarTags = events.eventsCache[startdate.format() + "-" + enddate.format()]['tags'];
| callback(events.eventsCache[startdate.format() + "-" + enddate.format()]['events']);
| if(DatedNews.filterAdded.hasOwnProperty('newsCalendarEvent_' + 193)){
| DatedNews.filterCalendarEvents(DatedNews.filterAdded['newsCalendarEvent_' + 193], $('#calendar.calendar_' + 193), 'newsCalendarEvent_' + 193);
| }
| return;
| }
| $.get("?type=6660667", { "tx_news_pi1[action]": "ajaxEvent", "tx_news_pi1[start]": startdate.format(), "tx_news_pi1[end]": enddate.format(), "tx_news_pi1[cUid]": 193}, function(data){
| if (!events.eventsCache) {events.eventsCache = {};}
| if(typeof data === 'string'){
| data = JSON.parse(data);
| }
| events.eventsCache[startdate.format() + "-" + enddate.format()] = data;
| DatedNews.newsCalendarTags = data['tags'];
| fillEventscal(data['events']);
| callback(data['events']);
| if(DatedNews.filterAdded.hasOwnProperty('newsCalendarEvent_' + 193)){
| DatedNews.filterCalendarEvents(DatedNews.filterAdded['newsCalendarEvent_' + 193], $('#calendar.calendar_' + 193), 'newsCalendarEvent_' + 193);
| }
| });
| },
| timeFormat: 'H:mm'
| });
| })(jQuery);
| /*jQuery.noConflict(true);*/
| </script>