How to call JavaScript in SharePoint Calendar Add Button Click event ?
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
What you could do instead is to use
For example (jQuery):
|
|||
|
$('[id="Ribbon.Calendar.Events.New.NewListItem-Large"]').click(function(){...})
or even override the methods directly in SP.UI.ApplicationPages.CalendarMouseHandler. But this will only tell you if the modal window were opened. You could however override the whole modal – eirikb Nov 6 '12 at 6:56