diff --git a/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js b/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js index c317d80b8..c90f93439 100644 --- a/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js +++ b/airtime_mvc/public/js/airtime/schedule/full-calendar-functions.js @@ -257,11 +257,11 @@ function eventRender(event, element, view) { if (event.show_empty === 1 && event.record === 0 && event.rebroadcast === 0) { $(element) .find(".fc-event-time") - .before(''); + .before(''); } else if (event.show_partial_filled === true) { $(element) .find(".fc-event-time") - .before(''); + .before(''); } } else if (view.name === 'month') { if (event.show_empty === 1 && event.record === 0 && event.rebroadcast === 0) { @@ -511,6 +511,27 @@ function addQtipsToIcons(ele){ ready: true // Needed to make it show on first mouseover event } }); + } else if ($(ele).hasClass("show-partial-filled")){ + $(ele).qtip({ + content: { + text: $.i18n._("This show is not completely filled with content.") + }, + position:{ + adjust: { + resize: true, + method: "flip flip" + }, + at: "right center", + my: "left top", + viewport: $(window) + }, + style: { + classes: "ui-tooltip-dark file-md-long" + }, + show: { + ready: true // Needed to make it show on first mouseover event + } + }); } } //Alert the error and reload the page