Since the switch from ext to jquery framework, pops are broken in the stock CMS calendar
Description
inHead now includes jQuery, not EXT. Need to switch calendar toolTip to something jQuery based. Just used the skin:toolTip to accomplish this. Code as it was:
NOTES: This is very, very, very messy. For each event, a new block of 5 lines of jQuery are created. I fear that for very large calendars this could get ugly. Best case would be to make a toolTip just for the calendar that you can send the formatted text into instead of making a new object for each request. However, I'm cool with what I have for the time being.
inHead now includes jQuery, not EXT. Need to switch calendar toolTip to something jQuery based. Just used the skin:toolTip to accomplish this. Code as it was:
<cfloop query="qDayEvents">
<cfset eventDisplayed = 1>
<skin:view objectid="#qDayEvents.objectid#" typename="dmEvent" webskin="displayToolTip" r_html="eventTeaserHTML" />
<extjs:toolTip toolTip="#eventTeaserHTML#"><em><span class="title"><skin:buildLink objectid="#qDayEvents.objectid#">#qDayEvents.title#</skin:buildLink></span></em></extjs:toolTip>
</cfloop>
Code as I've modified:
<cfloop query="qDayEvents">
<cfset eventDisplayed = 1>
<cfset randID=randrange(11111,99999)>
<skin:view objectid="#qDayEvents.objectid#" typename="dmEvent" webskin="displayToolTip" r_html="eventTeaserHTML" />
<skin:tooltip message="#eventTeaserHTML#" selector="###randID#" />
<div class="title"><skin:buildLink objectid="#qDayEvents.objectid#" id="#randID#">#qDayEvents.title#</skin:buildLink></div>
</cfloop>
NOTES:
This is very, very, very messy. For each event, a new block of 5 lines of jQuery are created. I fear that for very large calendars this could get ugly. Best case would be to make a toolTip just for the calendar that you can send the formatted text into instead of making a new object for each request. However, I'm cool with what I have for the time being.