Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- drop: function(date, jsEvent, ui, resourceId) {
- console.log('drop', date.format(), resourceId);
- //start: date.format(),
- //end: start.clone().add(2, 'hour');
- //alert(date.format());
- //alert(start);
- //alert(end);
- // is the "remove after drop" checkbox checked?
- if ($('#drop-remove').is(':checked')) {
- // if so, remove the element from the "Draggable Events" list
- $(this).remove();
- }
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement