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

Error day events - fixed #15

Open
dsalcedo opened this issue Aug 1, 2014 · 0 comments
Open

Error day events - fixed #15

dsalcedo opened this issue Aug 1, 2014 · 0 comments

Comments

@dsalcedo
Copy link

dsalcedo commented Aug 1, 2014

When you multiple events like:

 var events= [
                      {"date":"2014-08-02","title":"2"},
                      {"date":"2014-08-03","title":"1"},
                      {"date":"2014-08-10","title":"1"},
                      {"date":"2014-08-20","title":"1"},
               ];

The plugin show the events in date-1.
Example.
{"date":"2014-08-02","title":"2"}, show in 2014-08-01
{"date":"2014-08-20","title":"1"}, show in 2014-08-19.

FIX

//on line 131 to 140
elem.parent('div:first').find('#day_' + (event_date.getDate()+1) )
                    .removeClass("day")
                    .addClass('holiday')
                    .empty()
                    .append('<span class="weekday">' +(event_date.getDate()+1)+ '</span>')
                    .popover({
                        'title': msg_evnts_hdr,
                        'content': 'You have ' +this.title+ ' appointments',
                        'delay': { 'show': 250, 'hide': 250 }
                    });
@dsalcedo dsalcedo changed the title Error en multiple days - fixed Error day events - fixed Aug 1, 2014
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

1 participant