builtbywill / booklet

jQuery Plugin - display web content in a flipbook
http://builtbywill.com/booklet
Other
291 stars 109 forks source link

Error in Fullcalendar #11

Closed syedmydeen closed 10 years ago

syedmydeen commented 11 years ago

I have error when remove events from full calendar. cannot call methods on draggable prior to initialization; attempted to call method 'option' I have following code, eventDragStop: function(event, jsEvent, ui, view) { var eventPosX = jsEvent.pageX; var eventPosY = jsEvent.pageY; var scrHeight = window.screen.availHeight; var scrWidth = window.screen.availWidth; var xPer = (eventPosX * 100) / scrWidth; var yPer = (eventPosY * 100) / scrHeight; var arr = $("#calendar").fullCalendar("clientevents"); if(xPer >= 60 && xPer <= 63 && yPer >=1 && yPer <= 5) { if(confirm('Are you sure?')) { $("#calendar").fullCalendar("removeEvents", event.id); $("#calendar").fullCalendar( 'refetchEvents' ); } }
} Please help.

builtbywill commented 10 years ago

This doesn't seem to be related to the booklet plugin. Sorry for your troubles but I don't think I can assist.