My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2551: Dynamically added eventRender buttons will not fire in agenda views.
1 person starred this issue and may be notified of changes. Back to list
Status:  ExportedToGithub
Owner:  ----
Closed:  Aug 2015


Sign in to add a comment
 
Reported by p...@westmidata.com, Jul 20, 2015
Clicking a dynamically added Delete button in a basic view will delete the event.  When in an agenda view it will not, however, the eventClick does still fire.

Fiddle: http://jsfiddle.net/codf4y8u/

eventRender: function(event, element) {
	var b = $("<button class='delete'>Delete</button>").click(function(e) {
		$('#calendar').fullCalendar('removeEvents', event._id);
	});
	element.append(b);
}

Tested in Chrome Version 43.0.2357.134 m and I.E. 11.0.9600.17905
Aug 13, 2015
Project Member #1 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Reproducing
Labels: Type-Bug
Aug 20, 2015
Project Member #2 adamrs...@gmail.com
Discussion for this issue has moved to the following URL:
https://github.com/fullcalendar/fullcalendar/issues/2816

This is because Google Code is shutting down. Apologies if you are being pestered with these notifications. This is a one-time event.

Happy coding,
Adam
Status: ExportedToGithub
Sign in to add a comment

Powered by Google Project Hosting