Friday, 28 June 2013

Mike Smith's Tech Training Notes: SharePoint 2010 - Create a Calendar View without Hyperlinks

Mike Smith's Tech Training Notes: SharePoint 2010 - Create a Calendar View without Hyperlinks: // load our function to the delayed load list
_spBodyOnLoadFunctionNames.push('hideCalendarEventLinkIntercept');

// hook into the existing SharePoint calendar load function
function hideCalendarEventLinkIntercept()
{
var OldCalendarNotify4a = SP.UI.ApplicationPages.CalendarNotify.$4b;
SP.UI.ApplicationPages.CalendarNotify.$4b = function ()
{
OldCalendarNotify4a();
hideCalendarEventLinks();
}
}

No comments:

Post a Comment