Advertisement
Guest User

Untitled

a guest
May 27th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. drop: function(date, jsEvent, ui, resourceId) {
  2. console.log('drop', date.format(), resourceId);
  3. //start: date.format(),
  4. //end: start.clone().add(2, 'hour');
  5. //alert(date.format());
  6. //alert(start);
  7. //alert(end);
  8. // is the "remove after drop" checkbox checked?
  9. if ($('#drop-remove').is(':checked')) {
  10. // if so, remove the element from the "Draggable Events" list
  11. $(this).remove();
  12. }
  13. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement