| Issue 2312: | dropAccept doesn't work with fullcalendar 2.1.1 | |
| 2 people starred this issue and may be notified of changes. | Back to list |
example:
$("#calendar").fullcalendar({
dropAccept: ".some-class"
});
and still I can drop whatever I want. I checked the fullcalendar.js file and code for checking elements that can be dropped is missing.
Quick Fix:
Line 6864: if (this.opt('droppable')
change this line to:
if (this.opt('droppable') && $(ev.target).filter(this.opt("dropAccept")).length > 0)
Nov 15, 2014
this has been reintroduces in 2.2 https://github.com/arshaw/fullcalendar/releases/tag/v2.2.0 thanks!
Status:
Released
|
|
| ► Sign in to add a comment |
Labels: Type-Bug