Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External Drag&Drop #23

Open
webnologie opened this issue Sep 20, 2016 · 3 comments
Open

External Drag&Drop #23

webnologie opened this issue Sep 20, 2016 · 3 comments

Comments

@webnologie
Copy link

Hello, an external Drop does not work. do you have any solution? thank you!

@mherrmann
Copy link
Owner

Hi, I'm sorry I don't. If you find a solution, please let me know here! Thanks

@webnologie
Copy link
Author

hi, my "solution" is not the best. when the event drag (drop: function(date, jsEvent, ui, resourceId)) is released i add the following code. problem is that i have this event 2 times in the normal view.

    var moment = $('#calendar').fullCalendar('getDate');
    var time = $('#calendar').fullCalendar('option','minTime');
    startDate = moment.format("YYYY-MM-DD")+"T"+time;

        $('#calendar').fullCalendar( 'addEventSource', [{
       title: "title",
           start: startDate,
           column: 1,
           end: (new Date(startDate)).getTime()+ 60 * 60 * 1000
    }] )
        $('#calendar').fullCalendar('refetchEvents');

@alexkv1984
Copy link

hello , is it possible to fix it some how? becouse i tryed and yet nothing ... and webnologi i tryed your solution , just didnt understood where u put the code..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants