| Issue 1177: | Drop event `this` value changed with jquery 1.7 | |
| 3 people starred this issue and may be notified of changes. | Back to list |
The drop event handler used to be (jQuery 1.6) in the context of the element that was made draggable. This element happens to be a <tr> element. Now after upgrading to jQuery 1.7 the context of the event handler is whatever column (<td> element) the cursor was over. I got around this by using jQuery(this).closest(..) to find the element that had the draggable event attached. I do not know if this is a bug in 1.7 or was a bug in 1.6 that was fixed. But I would like to know. thanks
Nov 20, 2011
#1
billd...@gmail.com
Aug 13, 2013
(No comment was entered for this change.)
Summary:
Drop event `this` value changed with jquery 1.7
(was: drop event context changed with jquery 1.7)
Status: Reproducing Labels: Type-Bug
Jun 11, 2014
most of this problem should have been fixed in version since this posting. but i just went and made sure all the `this` values from handlers like this are consistently the dom node object of the event. https://github.com/arshaw/fullcalendar/commit/6369e2bd90d890f1bba72833b05c8d691c5e464f
Status:
Implemented
Jun 15, 2014
this issue has been addressed and version 2.0.1 has been released: http://arshaw.com/fullcalendar/download/
Status:
Released
|
|
| ► Sign in to add a comment |